]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Use new KStandardAction slot syntax
authorElvis Angelaccio <elvis.angelaccio@kde.org>
Sat, 3 Feb 2018 19:30:37 +0000 (20:30 +0100)
committerElvis Angelaccio <elvis.angelaccio@kde.org>
Sat, 3 Feb 2018 19:30:37 +0000 (20:30 +0100)
This was probably forgotten from commit 3bfdf0d2.

src/dolphinmainwindow.cpp

index 95b05785fbf2e5aa49b22c73cae64e498b28c6d2..d3e2fd90753e729f27e72e96fb502cdd24adc5bf 100644 (file)
@@ -1198,7 +1198,7 @@ void DolphinMainWindow::setupActions()
     KToggleAction* showMenuBar = KStandardAction::showMenubar(nullptr, nullptr, actionCollection());
     connect(showMenuBar, &KToggleAction::triggered,                   // Fixes #286822
             this, &DolphinMainWindow::toggleShowMenuBar, Qt::QueuedConnection);
-    KStandardAction::preferences(this, SLOT(editSettings()), actionCollection());
+    KStandardAction::preferences(this, &DolphinMainWindow::editSettings, actionCollection());
 
     // not in menu actions
     QList<QKeySequence> nextTabKeys = KStandardShortcut::tabNext();