Add isPlatformSupported() (#28)

* Add isPlatformSupported()
* Remove extra semicolons
* Add newlines before new methods
This commit is contained in:
Hennadii Chernyshchyk
2020-01-07 09:31:37 +01:00
committed by Felix Barz
parent 96a0710e1b
commit 9583eafe76
6 changed files with 31 additions and 7 deletions
+7 -2
View File
@@ -23,10 +23,15 @@ private:
};
NATIVE_INSTANCE(QHotkeyPrivateWin)
bool QHotkeyPrivate::isPlatformSupported()
{
return true;
}
bool QHotkeyPrivateWin::nativeEventFilter(const QByteArray &eventType, void *message, long *result)
{
Q_UNUSED(eventType);
Q_UNUSED(result);
Q_UNUSED(eventType)
Q_UNUSED(result)
MSG* msg = static_cast<MSG*>(message);
if(msg->message == WM_HOTKEY)