From dac3a1a0ca3eed03975f436c08ba6f10882da57c Mon Sep 17 00:00:00 2001 From: Driim Date: Mon, 11 Mar 2013 19:33:57 +0400 Subject: [PATCH] Fix missing "Add torrent file" icon --- src/mainwindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 4edad454f..484013f7b 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -108,10 +108,12 @@ MainWindow::MainWindow(QWidget *parent, const QStringList& torrentCmdLine) : QMa #if defined(Q_WS_X11) if (Preferences().useSystemIconTheme()) setWindowIcon(QIcon::fromTheme("qbittorrent", QIcon(QString::fromUtf8(":/Icons/skin/qbittorrent32.png")))); - else + else { #else setWindowIcon(QIcon(QString::fromUtf8(":/Icons/skin/qbittorrent32.png"))); #endif + } + actionOpen->setIcon(IconProvider::instance()->getIcon("list-add")); actionDownload_from_URL->setIcon(IconProvider::instance()->getIcon("insert-link")); actionSet_upload_limit->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/seeding.png")));