Use new icon for "Show in groups"

This allows adding the "Show in groups" action to the toolbar with
a nice icon.

CCBUG: 290632
This commit is contained in:
Peter Penz 2012-01-16 15:37:32 +01:00
parent d0fe7390b6
commit d93cf037ea

View 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)));