diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-02-25 11:23:11 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-02-25 14:19:59 +0100 |
commit | 9ad579e6581cd95edb156cb758cbd329779aecd7 (patch) | |
tree | 408e7708083c2145a789e2c70222899778f5abba /qxt-mini | |
parent | 4fcfeddccef9bb315796d6c3ded99f894fd55907 (diff) |
qxt/mac: reindent
Diffstat (limited to 'qxt-mini')
-rw-r--r-- | qxt-mini/qxtglobalshortcut_mac.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qxt-mini/qxtglobalshortcut_mac.cpp b/qxt-mini/qxtglobalshortcut_mac.cpp index b19de377..c6b20fa2 100644 --- a/qxt-mini/qxtglobalshortcut_mac.cpp +++ b/qxt-mini/qxtglobalshortcut_mac.cpp @@ -53,9 +53,9 @@ OSStatus qxt_mac_handle_hot_key(EventHandlerCallRef nextHandler, EventRef event, { EventHotKeyID keyID; GetEventParameter(event, kEventParamDirectObject, typeEventHotKeyID, NULL, sizeof(keyID), NULL, &keyID); - Identifier id = keyIDs.key(keyID.id); - if(id != Identifier()) - QxtGlobalShortcutPrivate::activateShortcut(id.second, id.first); + Identifier id = keyIDs.key(keyID.id); + if(id != Identifier()) + QxtGlobalShortcutPrivate::activateShortcut(id.second, id.first); } return noErr; } @@ -232,7 +232,7 @@ bool QxtGlobalShortcutPrivate::registerShortcut(quint32 nativeKey, quint32 nativ { if (!qxt_mac_handler_installed) { - qxt_mac_handler_installed = true; + qxt_mac_handler_installed = true; EventTypeSpec t; t.eventClass = kEventClassKeyboard; t.eventKind = kEventHotKeyPressed; |