mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-27 07:47:03 -05:00
added tooltip for systray to display nickname and location
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4103 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
be7359e804
commit
c820826260
@ -800,6 +800,11 @@ void MainWindow::updateStatus()
|
||||
tray += tr("%1 friends connected").arg(nOnlineCount);
|
||||
}
|
||||
|
||||
RsPeerDetails pd ;
|
||||
if (rsPeers->getPeerDetails(rsPeers->getOwnId(),pd)) {
|
||||
tray += "\n" + QString::fromStdString(pd.name) + " (" + QString::fromStdString(pd.location) + ") " ;
|
||||
}
|
||||
|
||||
trayIcon->setToolTip(tray);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user