|
|
@ -108,11 +108,9 @@ MainWindow::MainWindow(QWidget *parent, const QStringList& torrentCmdLine) : QMa |
|
|
|
#if defined(Q_WS_X11) |
|
|
|
#if defined(Q_WS_X11) |
|
|
|
if (Preferences().useSystemIconTheme()) |
|
|
|
if (Preferences().useSystemIconTheme()) |
|
|
|
setWindowIcon(QIcon::fromTheme("qbittorrent", QIcon(QString::fromUtf8(":/Icons/skin/qbittorrent32.png")))); |
|
|
|
setWindowIcon(QIcon::fromTheme("qbittorrent", QIcon(QString::fromUtf8(":/Icons/skin/qbittorrent32.png")))); |
|
|
|
else { |
|
|
|
|
|
|
|
#else |
|
|
|
#else |
|
|
|
setWindowIcon(QIcon(QString::fromUtf8(":/Icons/skin/qbittorrent32.png"))); |
|
|
|
setWindowIcon(QIcon(QString::fromUtf8(":/Icons/skin/qbittorrent32.png"))); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
actionOpen->setIcon(IconProvider::instance()->getIcon("list-add")); |
|
|
|
actionOpen->setIcon(IconProvider::instance()->getIcon("list-add")); |
|
|
|
actionDownload_from_URL->setIcon(IconProvider::instance()->getIcon("insert-link")); |
|
|
|
actionDownload_from_URL->setIcon(IconProvider::instance()->getIcon("insert-link")); |
|
|
|