mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 10:22:48 +00:00
kdeui: set only the active shortcut when reading KActionCollection settings
setting the default makes no sense, the default should come from code not from the config Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
b64a94ac19
commit
4c30a62d40
1 changed files with 1 additions and 1 deletions
|
@ -391,7 +391,7 @@ void KActionCollection::readSettings(KConfigGroup *config)
|
|||
if (!entry.isEmpty()) {
|
||||
kaction->setShortcut(QKeySequence(entry), KAction::ActiveShortcut);
|
||||
} else {
|
||||
kaction->setShortcut(kaction->shortcut(KAction::DefaultShortcut));
|
||||
kaction->setShortcut(kaction->shortcut(KAction::DefaultShortcut), KAction::ActiveShortcut);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue