mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-15 10:54:22 -05:00
Change the status bar network display
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2588 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
64d75f3ab7
commit
b1d6e2606b
@ -71,12 +71,8 @@ void PeerStatus::getPeerStatus()
|
|||||||
rsPeers->getFriendList(ids);
|
rsPeers->getFriendList(ids);
|
||||||
int friends = ids.size();
|
int friends = ids.size();
|
||||||
|
|
||||||
ids.clear();
|
|
||||||
//rsPeers->getOthersList(ids);
|
|
||||||
int others = 1 + ids.size();
|
|
||||||
|
|
||||||
std::ostringstream out2;
|
std::ostringstream out2;
|
||||||
out2 << "<span style=\"color:#008000\"><strong>" << tr("Online:").toStdString() << " </strong></span>" << online << " | <span style=\"color:#0000FF\"><strong>" << tr("Friends:").toStdString() << " </strong></span>" << friends << " | <strong>" << tr("Network:").toStdString() << " </strong>" << others << " ";
|
out2 << "<span style=\"color:#000000\"><strong>" << tr("Friends:").toStdString() << " " << friends << "</strong></span>" << " | " << "<span style=\"color:#0000FF\"><strong>" << tr("Online:").toStdString() << " " << online << "</strong></span>" << " ";
|
||||||
|
|
||||||
|
|
||||||
if (statusPeers)
|
if (statusPeers)
|
||||||
|
Loading…
Reference in New Issue
Block a user