summaryrefslogtreecommitdiffstats
path: root/shemovcleaner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shemovcleaner.cpp')
-rw-r--r--shemovcleaner.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/shemovcleaner.cpp b/shemovcleaner.cpp
index a0bf4f2..e31545f 100644
--- a/shemovcleaner.cpp
+++ b/shemovcleaner.cpp
@@ -24,6 +24,7 @@
#include "configurationwidget.h"
#include "filewidget.h"
#include "globals.h"
+#include "helper.h"
ShemovCleaner::ShemovCleaner(QWidget *parent, Qt::WindowFlags f) : QMainWindow(parent, f) {
//general setup
@@ -83,6 +84,7 @@ ShemovCleaner::ShemovCleaner(QWidget *parent, Qt::WindowFlags f) : QMainWindow(p
restoreGeometry(s.value("geometry").toByteArray());
mTorrentTab->torrentFileView()->setFocus();
readSettings();
+ Helper::setAlternatingRowColors();
mTorrentTab->selectFirst();
mFileTab->selectFirst();
}
@@ -137,6 +139,7 @@ void ShemovCleaner::configure(){
if(res == QDialog::Accepted){
openDatabase();
emit configurationChanged();
+ Helper::setAlternatingRowColors();
}
}
@@ -236,6 +239,7 @@ void ShemovCleaner::readSettings(){
int curTab = s.value("startupTab").toInt();
mTab->setCurrentIndex(curTab);
tabChanged(curTab);
+
}
void ShemovCleaner::writeSettings(){