mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 16:15:23 -04:00
* Fixed Defnax's Status Bar.
* Fixed 'Offline' bug in MessengerWindow. * Added isOnline function to rspeers interface. * Cleaned up some stuff. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@610 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
1389c617e9
commit
0d6471433c
6 changed files with 17 additions and 40 deletions
|
@ -52,10 +52,7 @@ PeerStatus::PeerStatus(QWidget *parent)
|
|||
hbox->addWidget(statusPeers);
|
||||
|
||||
setLayout( hbox );
|
||||
|
||||
QTimer *timer2 = new QTimer(this);
|
||||
timer2->connect(timer2, SIGNAL(timeout()), this, SLOT(setPeerStatus()));
|
||||
timer2->start(5113);
|
||||
|
||||
}
|
||||
|
||||
PeerStatus::~PeerStatus()
|
||||
|
@ -79,7 +76,7 @@ void PeerStatus::setPeerStatus()
|
|||
int others = 1 + ids.size();
|
||||
|
||||
std::ostringstream out2;
|
||||
out2 << "Online: " << online << "| Friends: " << friends << "| Network: " << others << " ";
|
||||
out2 << "Online: " << online << " | Friends: " << friends << " | Network: " << others << " ";
|
||||
|
||||
|
||||
if (statusPeers)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue