Commit 9a7569a8 authored by Marijo Mustac's avatar Marijo Mustac Committed by Nathaniel Graham

Add icons to Edit menu

Since Breeze offers such a great palette of action icons I thought we should make use of them which make things also more consistent with other applications.



Test Plan:
Show menubar
Icons are shown in Edit menu

Reviewers: #dolphin, ngraham

Reviewed By: #dolphin, ngraham

Subscribers: ngraham

Differential Revision:
parent 5f57256a
......@@ -1085,11 +1085,13 @@ void DolphinMainWindow::setupActions()
QAction* selectAll = actionCollection()->addAction(QStringLiteral("select_all"));
selectAll->setText(i18nc("@action:inmenu Edit", "Select All"));
actionCollection()->setDefaultShortcut(selectAll, Qt::CTRL | Qt::Key_A);
connect(selectAll, &QAction::triggered, this, &DolphinMainWindow::selectAll);
QAction* invertSelection = actionCollection()->addAction(QStringLiteral("invert_selection"));
invertSelection->setText(i18nc("@action:inmenu Edit", "Invert Selection"));
actionCollection()->setDefaultShortcut(invertSelection, Qt::CTRL | Qt::SHIFT | Qt::Key_A);
connect(invertSelection, &QAction::triggered, this, &DolphinMainWindow::invertSelection);
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