set a default void global shortcut

and implicitly enable them
REVIEW: 108253
BUG: 312835
This commit is contained in:
Thomas Lübking 2013-01-07 23:21:34 +01:00
parent 6e267063d8
commit ad262b1c13

View file

@ -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) void VirtualDesktopManager::addAction(KActionCollection *keys, const QString &name, const QString &label, const char *slot)
{ {
KAction *a = keys->addAction(name, this, slot); KAction *a = keys->addAction(name, this, slot);
a->setGlobalShortcut(KShortcut());
a->setText(label); a->setText(label);
} }