diff options
| author | David Hallas <[email protected]> | 2019-10-01 17:24:53 +0200 |
|---|---|---|
| committer | David Hallas <[email protected]> | 2019-10-03 05:40:10 +0200 |
| commit | c71c1c94be2e5ab2e14162a15780d4d12bee307b (patch) | |
| tree | f57dfd9333286b2b51eade773fa5abeb5a0c6552 /src/views | |
| parent | 43ea7052e15b1cb917bcc6cd2bd3a8046179e45c (diff) | |
Fix missing setDefaultShortcuts call
Summary:
The commit eec49bc38f4e256b66bf16ee5428c5f5d7e97e25 cased a warning to
be emitted when starting Dolphin:
KXMLGUIFactoryPrivate::saveDefaultActionProperties(): Shortcut for action "go_forward" "&Forward" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
The fix is to call
actionCollection()->setDefaultShortcuts(m_forwardAction, m_forwardAction->shortcuts());
so that the default shortcuts are setup.
Reviewers: elvisangelaccio
Reviewed By: elvisangelaccio
Subscribers: kfm-devel
Tags: #dolphin
Differential Revision: https://phabricator.kde.org/D24342
Diffstat (limited to 'src/views')
0 files changed, 0 insertions, 0 deletions
