mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kdeui: use QAction::setShortcut() instead of setting property
much faster Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
f2e7f97a62
commit
b54f55ede4
1 changed files with 2 additions and 2 deletions
|
@ -687,7 +687,7 @@ void KXMLGUIFactoryPrivate::applyShortcutScheme(KXMLGUIClient *client, const QLi
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (action) {
|
if (action) {
|
||||||
action->setProperty("shortcut", QKeySequence());
|
action->setShortcut(QKeySequence());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -704,7 +704,7 @@ void KXMLGUIFactoryPrivate::applyShortcutScheme(KXMLGUIClient *client, const QLi
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (action) {
|
if (action) {
|
||||||
action->setProperty("shortcut", QKeySequence());
|
action->setShortcut(QKeySequence());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue