mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 22:21:09 -04:00
Merge branch 'master' into hid1
This commit is contained in:
commit
a0f6a741b1
16 changed files with 60 additions and 17 deletions
|
@ -95,6 +95,8 @@ StatisticsWindow::StatisticsWindow(QWidget *parent) :
|
|||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
Settings->loadWidgetInformation(this);
|
||||
|
||||
initStackedPage();
|
||||
connect(ui->stackPages, SIGNAL(currentChanged(int)), this, SLOT(setNewPage(int)));
|
||||
ui->stackPages->setCurrentIndex(0);
|
||||
|
@ -109,6 +111,11 @@ StatisticsWindow::~StatisticsWindow()
|
|||
mInstance = NULL;
|
||||
}
|
||||
|
||||
void StatisticsWindow::closeEvent (QCloseEvent * /*event*/)
|
||||
{
|
||||
Settings->saveWidgetInformation(this);
|
||||
}
|
||||
|
||||
void StatisticsWindow::changeEvent(QEvent *e)
|
||||
{
|
||||
QMainWindow::changeEvent(e);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue