mirror of
https://github.com/transmission/transmission
synced 2024-12-27 18:18:10 +00:00
revert da855a7257
(#2635)
these icons need a fallback. view-statistics does not exist on many systems.
This commit is contained in:
parent
3042ae5b76
commit
33cb3b0a73
1 changed files with 0 additions and 3 deletions
|
@ -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_QueueMoveDown->setIcon(icons.getThemeIcon(QStringLiteral("go-down"), QStyle::SP_ArrowDown));
|
||||||
ui_.action_QueueMoveBottom->setIcon(icons.getThemeIcon(QStringLiteral("go-bottom")));
|
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 })
|
auto make_network_pixmap = [&icons](QString name, QSize size = { 16, 16 })
|
||||||
{
|
{
|
||||||
return icons.getThemeIcon(name, QStyle::SP_DriveNetIcon).pixmap(size);
|
return icons.getThemeIcon(name, QStyle::SP_DriveNetIcon).pixmap(size);
|
||||||
|
|
Loading…
Reference in a new issue