summaryrefslogtreecommitdiffhomepage
path: root/qxt-mini/qxtglobalshortcut_mac.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-02-25 11:23:11 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-02-25 14:19:59 +0100
commit9ad579e6581cd95edb156cb758cbd329779aecd7 (patch)
tree408e7708083c2145a789e2c70222899778f5abba /qxt-mini/qxtglobalshortcut_mac.cpp
parent4fcfeddccef9bb315796d6c3ded99f894fd55907 (diff)
qxt/mac: reindent
Diffstat (limited to 'qxt-mini/qxtglobalshortcut_mac.cpp')
-rw-r--r--qxt-mini/qxtglobalshortcut_mac.cpp8
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;