mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 16:31:21 +00:00
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:
parent
d0fe7390b6
commit
d93cf037ea
|
@ -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)));
|
||||
|
||||
|
|
Loading…
Reference in a new issue