scratchpad: use "edit-delete" as icon for action to remove scratch

As this is a destructive operation, this should be made more clear
in the UI. Also consistent with similar places in kdevelop UI.
parent 8a18a08c
......@@ -149,7 +149,7 @@ void ScratchpadView::setupActions()
connect(action, &QAction::triggered, this, &ScratchpadView::createScratch);
addAction(action);
action = new QAction(QIcon::fromTheme(QStringLiteral("list-remove")), i18n("Remove Scratch"), this);
action = new QAction(QIcon::fromTheme(QStringLiteral("edit-delete")), i18n("Remove Scratch"), this);
connect(action, &QAction::triggered, this, [this] {
m_scratchpad->removeScratch(proxyModel()->mapToSource(currentIndex()));
validateItemActions();
......
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