Changeset View
Changeset View
Standalone View
Standalone View
src/dolphincontextmenu.cpp
Show First 20 Lines • Show All 156 Lines • ▼ Show 20 Line(s) | 141 | { | |||
---|---|---|---|---|---|
157 | } | 157 | } | ||
158 | } | 158 | } | ||
159 | 159 | | |||
160 | void DolphinContextMenu::openTrashItemContextMenu() | 160 | void DolphinContextMenu::openTrashItemContextMenu() | ||
161 | { | 161 | { | ||
162 | Q_ASSERT(m_context & TrashContext); | 162 | Q_ASSERT(m_context & TrashContext); | ||
163 | Q_ASSERT(m_context & ItemContext); | 163 | Q_ASSERT(m_context & ItemContext); | ||
164 | 164 | | |||
165 | QAction* restoreAction = new QAction(i18nc("@action:inmenu", "Restore"), m_mainWindow); | 165 | QAction* restoreAction = new QAction(QIcon::fromTheme("restoration"), i18nc("@action:inmenu", "Restore"), m_mainWindow); | ||
166 | addAction(restoreAction); | 166 | addAction(restoreAction); | ||
167 | 167 | | |||
168 | QAction* deleteAction = m_mainWindow->actionCollection()->action(KStandardAction::name(KStandardAction::DeleteFile)); | 168 | QAction* deleteAction = m_mainWindow->actionCollection()->action(KStandardAction::name(KStandardAction::DeleteFile)); | ||
169 | addAction(deleteAction); | 169 | addAction(deleteAction); | ||
170 | 170 | | |||
171 | QAction* propertiesAction = m_mainWindow->actionCollection()->action(QStringLiteral("properties")); | 171 | QAction* propertiesAction = m_mainWindow->actionCollection()->action(QStringLiteral("properties")); | ||
172 | addAction(propertiesAction); | 172 | addAction(propertiesAction); | ||
173 | 173 | | |||
▲ Show 20 Lines • Show All 348 Lines • Show Last 20 Lines |