added X11 implementation

This commit is contained in:
Skycoder42
2016-02-06 19:31:50 +01:00
parent fc66c9229f
commit 7a9d6b6467
6 changed files with 192 additions and 12 deletions
+2 -2
View File
@@ -228,7 +228,7 @@ bool QHotkeyPrivateWin::registerShortcut(QHotkey::NativeShortcut shortcut)
if(ok)
return true;
else {
qWarning() << "Failed to register hotkey. Error:" << formatWinError(::GetLastError());
qWarning() << "QHotkey: Failed to register hotkey. Error:" << qPrintable(formatWinError(::GetLastError()));
return false;
}
}
@@ -239,7 +239,7 @@ bool QHotkeyPrivateWin::unregisterShortcut(QHotkey::NativeShortcut shortcut)
if(ok)
return true;
else {
qWarning() << "Failed to unregister hotkey. Error:" << formatWinError(::GetLastError());
qWarning() << "QHotkey: Failed to unregister hotkey. Error:" << qPrintable(formatWinError(::GetLastError()));
return false;
}
}