diff options
| author | Shubham Jangra <[email protected]> | 2018-12-10 23:19:09 +0530 |
|---|---|---|
| committer | Shubham Jangra <[email protected]> | 2018-12-10 23:28:45 +0530 |
| commit | 55db38d5ecc1f13e17fecd7f3a5ea24421080b77 (patch) | |
| tree | c21011468e0837ff3caad17b19c8343cf294018b /src/dolphincontextmenu.cpp | |
| parent | 48a4b7abea46b4b07ead9ce1c628291e6f8f3bbc (diff) | |
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
Diffstat (limited to 'src/dolphincontextmenu.cpp')
| -rw-r--r-- | src/dolphincontextmenu.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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)); |
