summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Lübking <thomas.luebking@gmail.com>2013-01-07 22:21:34 (GMT)
committerThomas Lübking <thomas.luebking@gmail.com>2013-01-08 19:50:06 (GMT)
commitfcf4f610a68dd322f2202f01c52053b7c0063873 (patch)
treef6ac9a51f253351f72e1f76b99423d70e2917a51
parentbaebc4e203da5d0457fdf68b50ee3b01a8b9f881 (diff)
set a default void global shortcut
and implicitly enable them REVIEW: 108253 BUG: 312835
-rw-r--r--kwin/virtualdesktops.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/kwin/virtualdesktops.cpp b/kwin/virtualdesktops.cpp
index ef3d25b..e53e298 100644
--- a/kwin/virtualdesktops.cpp
+++ b/kwin/virtualdesktops.cpp
@@ -467,6 +467,7 @@ void VirtualDesktopManager::addAction(KActionCollection *keys, const QString &na
void VirtualDesktopManager::addAction(KActionCollection *keys, const QString &name, const QString &label, const char *slot)
{
KAction *a = keys->addAction(name, this, slot);
+ a->setGlobalShortcut(KShortcut());
a->setText(label);
}