globalshortcut-x11: Fix minor code issues
This commit is contained in:
@@ -147,7 +147,7 @@ int GlobalShortcut::nativeKeycode(const Qt::Key qt_keycode) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int GlobalShortcut::nativeKeycode2(const Qt::Key qt_keycode) { return 0; }
|
int GlobalShortcut::nativeKeycode2(const Qt::Key) { return 0; }
|
||||||
|
|
||||||
bool GlobalShortcut::registerShortcut(const int native_key, const int native_mods) {
|
bool GlobalShortcut::registerShortcut(const int native_key, const int native_mods) {
|
||||||
|
|
||||||
|
|||||||
@@ -61,6 +61,7 @@ GlobalShortcut::GlobalShortcut(const QKeySequence &shortcut, GlobalShortcutsBack
|
|||||||
qt_key_(Qt::Key(0)),
|
qt_key_(Qt::Key(0)),
|
||||||
qt_mods_(Qt::NoModifier),
|
qt_mods_(Qt::NoModifier),
|
||||||
native_key_(0),
|
native_key_(0),
|
||||||
|
native_key2_(0),
|
||||||
native_mods_(0) {
|
native_mods_(0) {
|
||||||
|
|
||||||
Q_ASSERT(initialized_);
|
Q_ASSERT(initialized_);
|
||||||
|
|||||||
Reference in New Issue
Block a user