Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 75d55ab1 authored by Nate Graham's avatar Nate Graham 🔩

Use a more appropriate icon for "Delete" menu items

parent 90d54f5f
......@@ -102,7 +102,7 @@ KateFileTree::KateFileTree(QWidget *parent): QTreeView(parent)
m_filelistPrintDocumentPreview = KStandardAction::printPreview(this, SLOT(slotPrintDocumentPreview()), this);
m_filelistPrintDocumentPreview->setWhatsThis(i18n("Show print preview of current document"));
m_filelistDeleteDocument = new QAction(QIcon::fromTheme(QStringLiteral("edit-delete-shred")), i18nc("@action:inmenu", "Delete Document"), this);
m_filelistDeleteDocument = new QAction(QIcon::fromTheme(QStringLiteral("edit-delete")), i18nc("@action:inmenu", "Delete Document"), this);
connect(m_filelistDeleteDocument, &QAction::triggered, this, &KateFileTree::slotDocumentDelete);
m_filelistDeleteDocument->setWhatsThis(i18n("Close and delete selected file from storage."));
......
......@@ -338,7 +338,7 @@ void KateMainWindow::setupActions()
a->setWhatsThis(i18n("Renames the file belonging to the current document."));
a = actionCollection()->addAction(QStringLiteral("file_delete"));
a->setIcon(QIcon::fromTheme(QStringLiteral("edit-delete-shred")));
a->setIcon(QIcon::fromTheme(QStringLiteral("edit-delete")));
a->setText(i18nc("@action:inmenu", "Delete File"));
connect(a, &QAction::triggered, KateApp::self()->documentManager(),
[this]() {
......
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