From e23878665bdd3a775d638185908161b27932ee1c Mon Sep 17 00:00:00 2001 From: defnax Date: Sat, 27 Feb 2010 17:59:59 +0000 Subject: [PATCH] fixed trayicon tooltip git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2450 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/MainWindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/retroshare-gui/src/gui/MainWindow.cpp b/retroshare-gui/src/gui/MainWindow.cpp index d9a8735f0..1ad0a74fe 100644 --- a/retroshare-gui/src/gui/MainWindow.cpp +++ b/retroshare-gui/src/gui/MainWindow.cpp @@ -360,18 +360,22 @@ void MainWindow::updateStatus() else if (online == 0) { trayIcon->setIcon(QIcon(IMAGE_NOONLINE)); + trayIcon->setToolTip(tr("RetroShare")); } else if (online < 2) { trayIcon->setIcon(QIcon(IMAGE_ONEONLINE)); + trayIcon->setToolTip(tr("RetroShare")); } else if (online < 3) { trayIcon->setIcon(QIcon(IMAGE_TWOONLINE)); + trayIcon->setToolTip(tr("RetroShare")); } else { trayIcon->setIcon(QIcon(IMAGE_RETROSHARE)); + trayIcon->setToolTip(tr("RetroShare")); }