mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-28 00:07:09 -05:00
statistics - add node name in window title
This commit is contained in:
parent
0f46d393c2
commit
6502a72519
@ -186,6 +186,11 @@ public:
|
||||
ToasterDisable *toasterDisableInstance();
|
||||
SysTrayStatus *sysTrayStatusInstance();
|
||||
|
||||
QString get_nameAndLocation()
|
||||
{
|
||||
return nameAndLocation;
|
||||
}
|
||||
|
||||
static bool hiddenmode;
|
||||
|
||||
public slots:
|
||||
|
@ -35,6 +35,7 @@
|
||||
|
||||
#include <gui/settings/rsharesettings.h>
|
||||
|
||||
#include <gui/MainWindow.h>
|
||||
#include <gui/statistics/TurtleRouterStatistics.h>
|
||||
#include <gui/statistics/GlobalRouterStatistics.h>
|
||||
#include <gui/statistics/GxsTransportStatistics.h>
|
||||
@ -102,6 +103,7 @@ StatisticsWindow::StatisticsWindow(QWidget *parent) :
|
||||
int toolSize = Settings->getToolButtonSize();
|
||||
ui->toolBar->setToolButtonStyle(Settings->getToolButtonStyle());
|
||||
ui->toolBar->setIconSize(QSize(toolSize,toolSize));
|
||||
setWindowTitle("RetroShare Statistics - " + MainWindow::getInstance()->get_nameAndLocation());
|
||||
}
|
||||
|
||||
StatisticsWindow::~StatisticsWindow()
|
||||
|
Loading…
x
Reference in New Issue
Block a user