diff options
Diffstat (limited to 'shemovcleaner.cpp')
-rw-r--r-- | shemovcleaner.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shemovcleaner.cpp b/shemovcleaner.cpp index 93313e5..4a6555e 100644 --- a/shemovcleaner.cpp +++ b/shemovcleaner.cpp @@ -24,6 +24,7 @@ #include "searchwidget.h" #include "torrentdisplay.h" #include "configurationwidget.h" +#include "filewidget.h" #include "globals.h" ShemovCleaner::ShemovCleaner(QWidget *parent, Qt::WindowFlags f) : QMainWindow(parent, f) { @@ -81,6 +82,7 @@ ShemovCleaner::ShemovCleaner(QWidget *parent, Qt::WindowFlags f) : QMainWindow(p connect(mFileTab, SIGNAL(durationChanged(QString)), this, SLOT(setDuration(QString))); connect(mFileTab, SIGNAL(freeSpaceChanged(QString)), this, SLOT(updateFreeSpace(QString))); connect(mTab, SIGNAL(currentChanged(int)), this, SLOT(tabChanged(int))); + connect(this, &ShemovCleaner::configurationChanged, mFileTab, &FileWidget::readSettings); QMenu *helpMenu = new QMenu(tr("&Help")); QAction *aboutThisA = new QAction(tr("About ShemovCleaner..."), this); @@ -153,6 +155,7 @@ void ShemovCleaner::configure(){ int res = w.exec(); if(res == QDialog::Accepted){ openDatabase(); + emit configurationChanged(); } } |