From: Elvis Angelaccio Date: Sat, 3 Feb 2018 19:30:37 +0000 (+0100) Subject: Use new KStandardAction slot syntax X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/4709626a9b4557e77f99ed15353e80ffa608c75c Use new KStandardAction slot syntax This was probably forgotten from commit 3bfdf0d2. --- diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 95b05785f..d3e2fd907 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -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 nextTabKeys = KStandardShortcut::tabNext();