diff --git a/src/InputObject.cpp b/src/InputObject.cpp index 0709cd1..932be34 100644 --- a/src/InputObject.cpp +++ b/src/InputObject.cpp @@ -166,7 +166,7 @@ void InputObject::ShowPanel() { this->showFullScreen(); this->setVisible(true); - const DWORD currentThread = GetCurrentThreadId(); + const unsigned long currentThread = GetCurrentThreadId(); qDebug() << "currentThread" << currentThread; this->activateWindow(); //it is quite important!!!