Fix a cross platform bug

This commit is contained in:
Krad
2021-12-08 09:15:42 +08:00
parent ca45972643
commit 926e555789

View File

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