mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-07 00:25:16 -04:00
clean up source structure
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1154 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
72f7fd0be4
commit
130143192f
3 changed files with 12 additions and 26 deletions
|
@ -48,7 +48,7 @@ PeerStatus::PeerStatus(QWidget *parent)
|
|||
hbox->addWidget(iconLabel);
|
||||
|
||||
statusPeers = new QLabel( tr("Online: 0 | Friends: 0 | Network: 0 "), this );
|
||||
//statusPeers->setMinimumSize( statusPeers->frameSize().width() + 0, 0 );
|
||||
//statusPeers->setMinimumSize( statusPeers->frameSize().width() + 0, 0 );
|
||||
hbox->addWidget(statusPeers);
|
||||
|
||||
setLayout( hbox );
|
||||
|
@ -76,7 +76,7 @@ void PeerStatus::setPeerStatus()
|
|||
int others = 1 + ids.size();
|
||||
|
||||
std::ostringstream out2;
|
||||
out2 << "<span style=\"color:#008000\"><strong>Online: </strong></span>" << online << " | <span style=\"color:#0000FF\"><strong>Friends: </strong></span>" << friends << " | <span style=\"color:#FF0033\"><strong>Network: </strong></span>" << others << " ";
|
||||
out2 << "<span style=\"color:#008000\"><strong>Online: </strong></span>" << online << " | <span style=\"color:#0000FF\"><strong>Friends: </strong></span>" << friends << " | <strong>Network: </strong>" << others << " ";
|
||||
|
||||
|
||||
if (statusPeers)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue