From 85796d9c2ce0c7f08ea073079eddb788573f0a1c Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Fri, 4 Jan 2008 19:48:26 +0000 Subject: [PATCH] - Use 16px tray icon on windows --- src/GUI.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/GUI.cpp b/src/GUI.cpp index 4ea055a07..10d83ce02 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -1264,7 +1264,12 @@ void GUI::downloadFromURLList(const QStringList& urls) { void GUI::createTrayIcon() { // Tray icon + #ifdef Q_WS_WIN + myTrayIcon = new QSystemTrayIcon(QIcon(QString::fromUtf8(":/Icons/qbittorrent16.png")), this); + #endif + #ifndef Q_WS_WIN myTrayIcon = new QSystemTrayIcon(QIcon(QString::fromUtf8(":/Icons/qbittorrent22.png")), this); +#endif // Tray icon Menu myTrayIconMenu = new QMenu(this); myTrayIconMenu->addAction(actionOpen);