mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-26 07:16:11 -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();
|
||||
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…
x
Reference in New Issue
Block a user