From e326dddbd674f3cb14289cc6f42413250899032b Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Tue, 18 Jan 2022 16:03:23 +0000 Subject: [PATCH] Unset global shortcut for settings Meta+W will be used by Plasma in 5.24. In general, settings are not frequently accessed so they don't need a global shortcut assigned by default. --- app/shortcuts/globalshortcuts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/shortcuts/globalshortcuts.cpp b/app/shortcuts/globalshortcuts.cpp index 4425f6827..1bc157e07 100644 --- a/app/shortcuts/globalshortcuts.cpp +++ b/app/shortcuts/globalshortcuts.cpp @@ -103,8 +103,8 @@ void GlobalShortcuts::init() //show the layouts editor QAction *layoutsAction = generalActions->addAction(QStringLiteral("show latte global settings")); layoutsAction->setText(i18n("Show Latte Global Settings")); - layoutsAction->setShortcut(QKeySequence(Qt::META + Qt::Key_W)); - KGlobalAccel::setGlobalShortcut(layoutsAction, QKeySequence(Qt::META + Qt::Key_W)); + layoutsAction->setShortcut(QKeySequence()); + KGlobalAccel::setGlobalShortcut(layoutsAction, QKeySequence()); connect(layoutsAction, &QAction::triggered, this, [this]() { m_modifierTracker->cancelMetaPressed(); m_corona->layoutsManager()->showLatteSettingsDialog(Settings::Dialog::PreferencesPage, true);