mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
Use new KStandardAction slot syntax
This was probably forgotten from commit 3bfdf0d2
.
This commit is contained in:
parent
4112c38605
commit
4709626a9b
|
@ -1198,7 +1198,7 @@ void DolphinMainWindow::setupActions()
|
||||||
KToggleAction* showMenuBar = KStandardAction::showMenubar(nullptr, nullptr, actionCollection());
|
KToggleAction* showMenuBar = KStandardAction::showMenubar(nullptr, nullptr, actionCollection());
|
||||||
connect(showMenuBar, &KToggleAction::triggered, // Fixes #286822
|
connect(showMenuBar, &KToggleAction::triggered, // Fixes #286822
|
||||||
this, &DolphinMainWindow::toggleShowMenuBar, Qt::QueuedConnection);
|
this, &DolphinMainWindow::toggleShowMenuBar, Qt::QueuedConnection);
|
||||||
KStandardAction::preferences(this, SLOT(editSettings()), actionCollection());
|
KStandardAction::preferences(this, &DolphinMainWindow::editSettings, actionCollection());
|
||||||
|
|
||||||
// not in menu actions
|
// not in menu actions
|
||||||
QList<QKeySequence> nextTabKeys = KStandardShortcut::tabNext();
|
QList<QKeySequence> nextTabKeys = KStandardShortcut::tabNext();
|
||||||
|
|
Loading…
Reference in a new issue