]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Give the "Sort by" menu an appropriate icon
authorNate Graham <nate@kde.org>
Sun, 24 Feb 2019 21:09:53 +0000 (14:09 -0700)
committerNate Graham <nate@kde.org>
Sun, 24 Feb 2019 21:09:53 +0000 (14:09 -0700)
src/views/dolphinviewactionhandler.cpp

index 5697c7f4121607079113f7288a6df1eaac41b64e..f4fbddf60cc34f5abbee3fcdcc7450ff9e56c9e7 100644 (file)
@@ -172,6 +172,7 @@ void DolphinViewActionHandler::createActions()
     QActionGroup* sortByActionGroup = createFileItemRolesActionGroup(QStringLiteral("sort_by_"));
 
     KActionMenu* sortByActionMenu = m_actionCollection->add<KActionMenu>(QStringLiteral("sort"));
+    sortByActionMenu->setIcon(QIcon::fromTheme(QStringLiteral("view-sort")));
     sortByActionMenu->setText(i18nc("@action:inmenu View", "Sort By"));
     sortByActionMenu->setDelayed(false);