From 55db38d5ecc1f13e17fecd7f3a5ea24421080b77 Mon Sep 17 00:00:00 2001 From: Shubham Jangra Date: Mon, 10 Dec 2018 23:19:09 +0530 Subject: [PATCH] Add an icon for "restore" action Summary: Before: {F6469103} After: {F6469104} Test Plan: 1. Go to Trash 2. Right click any item. Reviewers: ngraham Reviewed By: ngraham Subscribers: kfm-devel Tags: #dolphin Differential Revision: https://phabricator.kde.org/D17490 --- src/dolphincontextmenu.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dolphincontextmenu.cpp b/src/dolphincontextmenu.cpp index 500eafee1..ca561b5c7 100644 --- a/src/dolphincontextmenu.cpp +++ b/src/dolphincontextmenu.cpp @@ -163,6 +163,7 @@ void DolphinContextMenu::openTrashItemContextMenu() Q_ASSERT(m_context & ItemContext); QAction* restoreAction = new QAction(i18nc("@action:inmenu", "Restore"), m_mainWindow); + restoreAction->setShortcut(Qt::CTRL + Qt::Key_R); addAction(restoreAction); QAction* deleteAction = m_mainWindow->actionCollection()->action(KStandardAction::name(KStandardAction::DeleteFile)); -- 2.47.3