1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

Add icons in clear history option in back and forward buttons

Add icon which is also shown in tools > clear_recent_history

Differential Revision: https://phabricator.kde.org/D11756
This commit is contained in:
Anmol Gautam 2018-03-27 21:33:22 +02:00 committed by David Rosca
parent b97685f57a
commit fe4f523fe4
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8

View File

@ -385,7 +385,7 @@ void NavigationBar::aboutToShowHistoryBackMenu()
}
m_menuBack->addSeparator();
m_menuBack->addAction(tr("Clear history"), this, SLOT(clearHistory()));
m_menuBack->addAction(QIcon::fromTheme(QSL("edit-clear")), tr("Clear history"), this, SLOT(clearHistory()));
}
void NavigationBar::aboutToShowHistoryNextMenu()
@ -419,7 +419,7 @@ void NavigationBar::aboutToShowHistoryNextMenu()
}
m_menuForward->addSeparator();
m_menuForward->addAction(tr("Clear history"), this, SLOT(clearHistory()));
m_menuForward->addAction(QIcon::fromTheme(QSL("edit-clear")), tr("Clear history"), this, SLOT(clearHistory()));
}
void NavigationBar::aboutToShowToolsMenu()