Fix a cross platform bug

This commit is contained in:
Krad
2021-12-08 09:18:26 +08:00
parent 926e555789
commit 7d0d6600e6

View File

@@ -166,8 +166,6 @@ void InputObject::ShowPanel() {
this->showFullScreen(); this->showFullScreen();
this->setVisible(true); this->setVisible(true);
const unsigned long currentThread = GetCurrentThreadId();
qDebug() << "currentThread" << currentThread;
this->activateWindow(); //it is quite important!!! this->activateWindow(); //it is quite important!!!
while (QApplication::activeWindow() != this) while (QApplication::activeWindow() != this)