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:
joss17 2010-03-21 17:24:15 +00:00
parent 64d75f3ab7
commit b1d6e2606b

View File

@ -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)