shortcut: response meta to show or hide ukui-menu

Signed-off-by: Hongfei Shang <shanghongfei@kylinos.cn>
This commit is contained in:
Hongfei Shang 2022-07-07 17:56:29 +08:00
parent fa965fc613
commit 6968de77b2
1 changed files with 4 additions and 4 deletions

View File

@ -748,10 +748,10 @@ void Options::loadConfig()
if (config.hasKey("Alt")) {
m_modifierOnlyShortcuts.insert(Qt::AltModifier, config.readEntry("Alt", QStringList()));
}
m_modifierOnlyShortcuts.insert(Qt::MetaModifier, config.readEntry("Meta", QStringList{QStringLiteral("org.kde.plasmashell"),
QStringLiteral("/PlasmaShell"),
QStringLiteral("org.kde.PlasmaShell"),
QStringLiteral("activateLauncherMenu")}));
m_modifierOnlyShortcuts.insert(Qt::MetaModifier, config.readEntry("Meta", QStringList{QStringLiteral("org.ukui.menu"),
QStringLiteral("/org/ukui/menu"),
QStringLiteral("org.ukui.menu"),
QStringLiteral("WinKeyResponse")}));
}
void Options::syncFromKcfgc()