1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 09:37:56 +00:00
these icons need a fallback. view-statistics does not exist on many systems.
This commit is contained in:
Charles Kerr 2022-02-16 22:47:57 -06:00 committed by GitHub
parent 3042ae5b76
commit 33cb3b0a73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -175,9 +175,6 @@ MainWindow::MainWindow(Session& session, Prefs& prefs, TorrentModel& model, bool
ui_.action_QueueMoveDown->setIcon(icons.getThemeIcon(QStringLiteral("go-down"), QStyle::SP_ArrowDown));
ui_.action_QueueMoveBottom->setIcon(icons.getThemeIcon(QStringLiteral("go-bottom")));
ui_.optionsButton->setIcon(icons.getThemeIcon(QStringLiteral("preferences-other")));
ui_.statsModeButton->setIcon(icons.getThemeIcon(QStringLiteral("view-statistics")));
auto make_network_pixmap = [&icons](QString name, QSize size = { 16, 16 })
{
return icons.getThemeIcon(name, QStyle::SP_DriveNetIcon).pixmap(size);