aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/hotkey
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/hotkey')
-rw-r--r--src/plugins/General/hotkey/hotkeyfactory.cpp4
-rw-r--r--src/plugins/General/hotkey/hotkeymanager.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/General/hotkey/hotkeyfactory.cpp b/src/plugins/General/hotkey/hotkeyfactory.cpp
index 9e706369d..2add2eecb 100644
--- a/src/plugins/General/hotkey/hotkeyfactory.cpp
+++ b/src/plugins/General/hotkey/hotkeyfactory.cpp
@@ -29,8 +29,8 @@ const GeneralProperties HotkeyFactory::properties() const
GeneralProperties properties;
properties.name = tr("Global Hotkey Plugin");
properties.shortName = "hotkey";
- properties.hasAbout = TRUE;
- properties.hasSettings = TRUE;
+ properties.hasAbout = true;
+ properties.hasSettings = true;
properties.visibilityControl = FALSE;
return properties;
}
diff --git a/src/plugins/General/hotkey/hotkeymanager.cpp b/src/plugins/General/hotkey/hotkeymanager.cpp
index 7ddb83a4f..23d93571e 100644
--- a/src/plugins/General/hotkey/hotkeymanager.cpp
+++ b/src/plugins/General/hotkey/hotkeymanager.cpp
@@ -271,7 +271,7 @@ void HotkeyManager::ensureModifiers()
m_meta_mask = Mod4Mask;
}
- m_haveMods = TRUE;
+ m_haveMods = true;
}
QList<long> HotkeyManager::ignModifiersList()