set a default void global shortcut
and implicitly enable them REVIEW: 108253 BUG: 312835
This commit is contained in:
parent
6e267063d8
commit
ad262b1c13
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue