Correct icons in recycle bin context menus.

This commit is contained in:
Martin Rotter 2017-09-20 07:34:02 +02:00
parent 738929e280
commit e9748c1d2a

View file

@ -72,10 +72,10 @@ QVariant RecycleBin::data(int column, int role) const {
QList<QAction*> RecycleBin::contextMenu() { QList<QAction*> RecycleBin::contextMenu() {
if (m_contextMenu.isEmpty()) { if (m_contextMenu.isEmpty()) {
QAction* restore_action = new QAction(qApp->icons()->fromTheme(QSL("recycle-bin-restore-all")), QAction* restore_action = new QAction(qApp->icons()->fromTheme(QSL("view-refresh")),
tr("Restore recycle bin"), tr("Restore recycle bin"),
this); this);
QAction* empty_action = new QAction(qApp->icons()->fromTheme(QSL("recycle-bin-empty")), QAction* empty_action = new QAction(qApp->icons()->fromTheme(QSL("edit-clear")),
tr("Empty recycle bin"), tr("Empty recycle bin"),
this); this);