From f445c8f872a0179cf8b57d837d18a1f33d58b7ba Mon Sep 17 00:00:00 2001 From: Driim Date: Mon, 11 Mar 2013 22:50:32 +0400 Subject: [PATCH] Fix add torrent icon version 3 --- src/mainwindow.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 7556e1eda..d08997eb6 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -108,9 +108,10 @@ 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 - setWindowIcon(QIcon(QString::fromUtf8(":/Icons/skin/qbittorrent32.png"))); + else #endif + setWindowIcon(QIcon(QString::fromUtf8(":/Icons/skin/qbittorrent32.png"))); + actionOpen->setIcon(IconProvider::instance()->getIcon("list-add")); actionDownload_from_URL->setIcon(IconProvider::instance()->getIcon("insert-link"));