Ticket #21039: patch-src-vidalia-tray-trayicon_qt.cpp.diff
File patch-src-vidalia-tray-trayicon_qt.cpp.diff, 571 bytes (added by hsivank@…, 15 years ago) |
---|
-
src/vidalia/tray/trayicon_qt.cpp
old new 14 14 ** \brief Tray icon wrapper around Qt's QSystemTrayIcon implementation 15 15 */ 16 16 17 #include <QApplication> 17 18 #include <QMouseEvent> 18 19 #include "trayicon_qt.h" 19 20 … … 30 31 void 31 32 TrayIconImpl::setIcon(const QString &iconFile) 32 33 { 33 QSystemTrayIcon::setIcon(QIcon(iconFile));34 QApplication::setWindowIcon(QPixmap(iconFile)); 34 35 } 35 36 36 37 /** Called when the user interacts with the tray icon and propoagates