mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-27 15:57:08 -05:00
Merge pull request #2275 from RetroPooh/stat-wintitle-nodename
statistics - add node name in window title
This commit is contained in:
commit
d0014f268c
@ -186,6 +186,11 @@ public:
|
|||||||
ToasterDisable *toasterDisableInstance();
|
ToasterDisable *toasterDisableInstance();
|
||||||
SysTrayStatus *sysTrayStatusInstance();
|
SysTrayStatus *sysTrayStatusInstance();
|
||||||
|
|
||||||
|
QString get_nameAndLocation()
|
||||||
|
{
|
||||||
|
return nameAndLocation;
|
||||||
|
}
|
||||||
|
|
||||||
static bool hiddenmode;
|
static bool hiddenmode;
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
#include <gui/settings/rsharesettings.h>
|
#include <gui/settings/rsharesettings.h>
|
||||||
#include "gui/common/FilesDefs.h"
|
#include "gui/common/FilesDefs.h"
|
||||||
|
|
||||||
|
#include <gui/MainWindow.h>
|
||||||
#include <gui/statistics/TurtleRouterStatistics.h>
|
#include <gui/statistics/TurtleRouterStatistics.h>
|
||||||
#include <gui/statistics/GlobalRouterStatistics.h>
|
#include <gui/statistics/GlobalRouterStatistics.h>
|
||||||
#include <gui/statistics/GxsIdStatistics.h>
|
#include <gui/statistics/GxsIdStatistics.h>
|
||||||
@ -105,6 +106,7 @@ StatisticsWindow::StatisticsWindow(QWidget *parent) :
|
|||||||
int toolSize = Settings->getToolButtonSize();
|
int toolSize = Settings->getToolButtonSize();
|
||||||
ui->toolBar->setToolButtonStyle(Settings->getToolButtonStyle());
|
ui->toolBar->setToolButtonStyle(Settings->getToolButtonStyle());
|
||||||
ui->toolBar->setIconSize(QSize(toolSize,toolSize));
|
ui->toolBar->setIconSize(QSize(toolSize,toolSize));
|
||||||
|
setWindowTitle("RetroShare Statistics - " + MainWindow::getInstance()->get_nameAndLocation());
|
||||||
}
|
}
|
||||||
|
|
||||||
StatisticsWindow::~StatisticsWindow()
|
StatisticsWindow::~StatisticsWindow()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user