mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kdeui: add TODO for global shorcuts stealing
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
87926d8e46
commit
70feecedcf
1 changed files with 1 additions and 0 deletions
|
@ -288,6 +288,7 @@ void KGlobalAccel::stealShortcutSystemwide(const QKeySequence &seq)
|
|||
{
|
||||
foreach (const KGlobalAccelStruct &shortcut, d->filter->shortcuts) {
|
||||
if (shortcut.action->globalShortcut().matches(seq) != QKeySequence::NoMatch) {
|
||||
// TODO: in case of partial match this can steal only the matching one
|
||||
shortcut.action->setGlobalShortcut(QKeySequence());
|
||||
d->remove(shortcut.action);
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue