From 756215544a2df6f76b6c2438c3429cb9833a156f Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Fri, 4 Oct 2024 22:18:02 +0200 Subject: [PATCH] GlobalShortcutsManager: Fix incorrect ifdef --- src/globalshortcuts/globalshortcutsmanager.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/globalshortcuts/globalshortcutsmanager.cpp b/src/globalshortcuts/globalshortcutsmanager.cpp index d994053da..2f7f125de 100644 --- a/src/globalshortcuts/globalshortcutsmanager.cpp +++ b/src/globalshortcuts/globalshortcutsmanager.cpp @@ -193,7 +193,7 @@ bool GlobalShortcutsManager::IsKdeAvailable() { #endif -#ifdef HAVE_KDE_GLOBALSHORTCUTS +#ifdef HAVE_GNOME_GLOBALSHORTCUTS bool GlobalShortcutsManager::IsGnomeAvailable() { @@ -203,7 +203,7 @@ bool GlobalShortcutsManager::IsGnomeAvailable() { #endif -#ifdef HAVE_KDE_GLOBALSHORTCUTS +#ifdef HAVE_MATE_GLOBALSHORTCUTS bool GlobalShortcutsManager::IsMateAvailable() { @@ -221,7 +221,7 @@ bool GlobalShortcutsManager::IsX11Available() { } -#endif // HAVE_X11_GLOBALSHORTCUTS +#endif bool GlobalShortcutsManager::Register() { @@ -255,7 +255,7 @@ bool GlobalShortcutsManager::IsMacAccessibilityEnabled() { } -#endif // Q_OS_MACOS +#endif void GlobalShortcutsManager::ShowMacAccessibilityDialog() {