mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-04 23:25:32 -04:00
added back dhtstatus label to StatusBar
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3702 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
ddf97c8ed2
commit
5809e25a60
6 changed files with 36 additions and 26 deletions
|
@ -62,6 +62,7 @@
|
|||
#include "statusbar/peerstatus.h"
|
||||
#include "statusbar/natstatus.h"
|
||||
#include "statusbar/ratesstatus.h"
|
||||
#include "statusbar/dhtstatus.h"
|
||||
#include "statusbar/hashingstatus.h"
|
||||
#include <retroshare/rsstatus.h>
|
||||
|
||||
|
@ -266,6 +267,9 @@ MainWindow::MainWindow(QWidget* parent, Qt::WFlags flags)
|
|||
|
||||
natstatus = new NATStatus();
|
||||
statusBar()->addWidget(natstatus);
|
||||
|
||||
dhtstatus = new DHTStatus();
|
||||
statusBar()->addWidget(dhtstatus);
|
||||
|
||||
hashingstatus = new HashingStatus();
|
||||
statusBar()->addPermanentWidget(hashingstatus);
|
||||
|
@ -306,6 +310,7 @@ MainWindow::~MainWindow()
|
|||
delete _messengerwindowAct;
|
||||
delete peerstatus;
|
||||
delete natstatus;
|
||||
delete dhtstatus;
|
||||
delete ratesstatus;
|
||||
MessengerWindow::releaseInstance();
|
||||
#ifdef UNFINISHED
|
||||
|
@ -502,6 +507,9 @@ void MainWindow::updateStatus()
|
|||
|
||||
if (natstatus)
|
||||
natstatus->getNATStatus();
|
||||
|
||||
if (dhtstatus)
|
||||
dhtstatus->getDHTStatus();
|
||||
|
||||
if (nOnlineCount == 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue