]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Use new icon for "Show in groups"
authorPeter Penz <peter.penz19@gmail.com>
Mon, 16 Jan 2012 14:37:32 +0000 (15:37 +0100)
committerPeter Penz <peter.penz19@gmail.com>
Mon, 16 Jan 2012 14:38:59 +0000 (15:38 +0100)
This allows adding the "Show in groups" action to the toolbar with
a nice icon.

CCBUG: 290632

src/views/dolphinviewactionhandler.cpp

index caa35230ab3740b58f62ea554b3aa8445c7c0a3c..f66aebc843a2b2b631a44bbf18bf9aa25a4bf9b2 100644 (file)
@@ -195,6 +195,7 @@ void DolphinViewActionHandler::createActions()
     }
 
     KToggleAction* showInGroups = m_actionCollection->add<KToggleAction>("show_in_groups");
+    showInGroups->setIcon(KIcon("view-group"));
     showInGroups->setText(i18nc("@action:inmenu View", "Show in Groups"));
     connect(showInGroups, SIGNAL(triggered(bool)), this, SLOT(toggleGroupedSorting(bool)));