Change the status bar network display

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2587 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
joss17 2010-03-21 17:18:32 +00:00
parent 67c6fd433e
commit 5950cd0738

View File

@ -71,12 +71,8 @@ void PeerStatus::getPeerStatus()
rsPeers->getFriendList(ids);
int friends = ids.size();
ids.clear();
//rsPeers->getOthersList(ids);
int others = 1 + ids.size();
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)