mirror of
https://github.com/Skycoder42/QHotkey.git
synced 2026-11-19 12:49:58 +03:00
Fix missing poll connect on Windows
This commit is contained in:
@@ -28,6 +28,11 @@ private:
|
||||
};
|
||||
NATIVE_INSTANCE(QHotkeyPrivateWin)
|
||||
|
||||
QHotkeyPrivateWin::QHotkeyPrivateWin(){
|
||||
pollTimer.setInterval(50);
|
||||
connect(&pollTimer, &QTimer::timeout, this, &QHotkeyPrivateWin::pollForHotkeyRelease);
|
||||
}
|
||||
|
||||
bool QHotkeyPrivate::isPlatformSupported()
|
||||
{
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user