Commit d68bb06e authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇 Committed by Felix Ernst
Browse files

Sync panel action icon to built-in toggleViewAction

Ensures the icon is used consistently also in Qt-provided UI
parent 64af89a3
Pipeline #130640 passed with stage
in 3 minutes and 24 seconds
......@@ -2278,6 +2278,7 @@ void DolphinMainWindow::createPanelAction(const QIcon& icon,
panelAction->setChecked(dockAction->isChecked());
panelAction->setText(dockAction->text());
panelAction->setIcon(icon);
dockAction->setIcon(icon);
actionCollection()->setDefaultShortcut(panelAction, shortcut);
connect(panelAction, &QAction::triggered, dockAction, &QAction::trigger);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment