summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-12-15 18:27:53 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-12-15 18:27:53 (GMT)
commitfd42772e5afbd3c8d70fd5fc6fabb88f2d28c390 (patch)
tree5284e0202d771b4635607b4dfc074408dda33a8d /Swift/QtUI
parentc6eb5912b471c17f9bd0e8dd647a00b8a2e37d08 (diff)
downloadswift-contrib-fd42772e5afbd3c8d70fd5fc6fabb88f2d28c390.zip
swift-contrib-fd42772e5afbd3c8d70fd5fc6fabb88f2d28c390.tar.bz2
Ensure Swift name is displayed in Windows systray.
Resolves: #515
Diffstat (limited to 'Swift/QtUI')
-rw-r--r--Swift/QtUI/QtSystemTray.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/QtUI/QtSystemTray.cpp b/Swift/QtUI/QtSystemTray.cpp
index d6180e6..123e6a3 100644
--- a/Swift/QtUI/QtSystemTray.cpp
+++ b/Swift/QtUI/QtSystemTray.cpp
@@ -13,6 +13,7 @@
namespace Swift {
QtSystemTray::QtSystemTray() : QObject(), onlineIcon_(":icons/online.png"), awayIcon_(":icons/away.png"), dndIcon_(":icons/dnd.png"), offlineIcon_(":icons/offline.png"), newMessageIcon_(":icons/new-chat.png"), throbberMovie_(":/icons/connecting.mng"), unreadMessages_(false), connecting_(false) {
trayIcon_ = new QSystemTrayIcon(offlineIcon_);
+ trayIcon_->setToolTip("Swift");
connect(trayIcon_, SIGNAL(activated(QSystemTrayIcon::ActivationReason)), this, SLOT(handleIconActivated(QSystemTrayIcon::ActivationReason)));
connect(&throbberMovie_, SIGNAL(frameChanged(int)), this, SLOT(handleThrobberFrameChanged(int)));
trayIcon_->show();