]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Fix unused variable warning
authorElvis Angelaccio <elvis.angelaccio@kde.org>
Sat, 14 Sep 2019 14:10:07 +0000 (16:10 +0200)
committerElvis Angelaccio <elvis.angelaccio@kde.org>
Sat, 14 Sep 2019 14:10:07 +0000 (16:10 +0200)
Should have been removed by 60d6a3bdbcd44360e1c6ae1c82239ecf6d60ded7

GIT_SILENT

src/views/dolphinviewactionhandler.cpp

index a520d7e5303c5e1ba3f5e9e49dc388d084058dad..00518912f3de20d4fc288974271eea7577a79493 100644 (file)
@@ -653,7 +653,6 @@ void DolphinViewActionHandler::slotSortTriggered(QAction* action)
     // actions and the sub-menu-actions. If an action gets checked, it must
     // be assured that all other actions get unchecked, except the ascending/
     // descending actions
-    QAction* sortByMenu =  m_actionCollection->action(QStringLiteral("sort"));
     for (QAction *groupAction : qAsConst(m_sortByActions)) {
         KActionMenu* actionMenu = qobject_cast<KActionMenu*>(groupAction);
         if (actionMenu) {