set the shortcut to the action

BUG:334855
This commit is contained in:
Marco Martin 2014-05-16 10:02:56 +02:00
parent 9653fad2f0
commit 2d29445164

View File

@ -595,6 +595,7 @@ void Applet::setGlobalShortcut(const QKeySequence &shortcut)
return;
}
d->activationAction->setShortcut(shortcut);
d->globalShortcutEnabled = true;
QList<QKeySequence> seqs;
seqs << shortcut;