GlobalShortcutsManager: Fix incorrect ifdef
This commit is contained in:
parent
0768298b95
commit
756215544a
@ -193,7 +193,7 @@ bool GlobalShortcutsManager::IsKdeAvailable() {
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_KDE_GLOBALSHORTCUTS
|
#ifdef HAVE_GNOME_GLOBALSHORTCUTS
|
||||||
|
|
||||||
bool GlobalShortcutsManager::IsGnomeAvailable() {
|
bool GlobalShortcutsManager::IsGnomeAvailable() {
|
||||||
|
|
||||||
@ -203,7 +203,7 @@ bool GlobalShortcutsManager::IsGnomeAvailable() {
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_KDE_GLOBALSHORTCUTS
|
#ifdef HAVE_MATE_GLOBALSHORTCUTS
|
||||||
|
|
||||||
bool GlobalShortcutsManager::IsMateAvailable() {
|
bool GlobalShortcutsManager::IsMateAvailable() {
|
||||||
|
|
||||||
@ -221,7 +221,7 @@ bool GlobalShortcutsManager::IsX11Available() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // HAVE_X11_GLOBALSHORTCUTS
|
#endif
|
||||||
|
|
||||||
bool GlobalShortcutsManager::Register() {
|
bool GlobalShortcutsManager::Register() {
|
||||||
|
|
||||||
@ -255,7 +255,7 @@ bool GlobalShortcutsManager::IsMacAccessibilityEnabled() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // Q_OS_MACOS
|
#endif
|
||||||
|
|
||||||
void GlobalShortcutsManager::ShowMacAccessibilityDialog() {
|
void GlobalShortcutsManager::ShowMacAccessibilityDialog() {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user