mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
statistics - add node name in window title
(cherry picked from commit f25ce1700286d2b54965d0c1f5f3ad408e51d291)
This commit is contained in:
parent
fe46b0aaa1
commit
b7b4f63eae
@ -186,6 +186,11 @@ public:
|
||||
ToasterDisable *toasterDisableInstance();
|
||||
SysTrayStatus *sysTrayStatusInstance();
|
||||
|
||||
QString get_nameAndLocation()
|
||||
{
|
||||
return nameAndLocation;
|
||||
}
|
||||
|
||||
static bool hiddenmode;
|
||||
|
||||
public slots:
|
||||
|
@ -36,6 +36,7 @@
|
||||
#include <gui/settings/rsharesettings.h>
|
||||
#include "gui/common/FilesDefs.h"
|
||||
|
||||
#include <gui/MainWindow.h>
|
||||
#include <gui/statistics/TurtleRouterStatistics.h>
|
||||
#include <gui/statistics/GlobalRouterStatistics.h>
|
||||
#include <gui/statistics/GxsIdStatistics.h>
|
||||
@ -105,6 +106,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…
Reference in New Issue
Block a user