Commit 75f84e29 authored by Jonathan Marten's avatar Jonathan Marten
Browse files

Set the standard icon for the "Rename Torrent" action

parent 7bee31b2
......@@ -184,7 +184,7 @@ void View::setupActions(KActionCollection* ac)
ac->addAction(QStringLiteral("view_remove_torrent_and_data"), remove_torrent_and_data);
ac->setDefaultShortcut(remove_torrent_and_data, QKeySequence(Qt::CTRL + Qt::Key_Delete));
rename_torrent = new QAction(i18n("Rename Torrent"), this);
rename_torrent = new QAction(QIcon::fromTheme(QStringLiteral("edit-rename")), i18n("Rename Torrent"), this);
connect(rename_torrent, &QAction::triggered, this, &View::renameTorrent);
ac->addAction(QStringLiteral("view_rename_torrent"), rename_torrent);
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