From 926e5557892c7b2a98a1eb437401a5c7c56d717e Mon Sep 17 00:00:00 2001 From: Krad Date: Wed, 8 Dec 2021 09:15:42 +0800 Subject: [PATCH] Fix a cross platform bug --- src/InputObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!!!