Settings update: Remove uneeded includes

and comment out questionable code.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2016-08-11 11:52:49 -03:00 committed by Dirk Hohndel
parent 9299e3c42b
commit a1b22797ca
8 changed files with 5 additions and 13 deletions

View file

@ -16,7 +16,6 @@
#include <QStackedWidget>
#include <QDialogButtonBox>
#include <QAbstractButton>
#include <QSettings>
#include <QDebug>
PreferencesDialog* PreferencesDialog::instance()
@ -34,10 +33,11 @@ PreferencesDialog::PreferencesDialog()
{
loadPreferences(); //TODO: Move this code out of the qthelper.cpp
QSettings s;
s.beginGroup("GeneralSettings");
s.setValue("default_directory", system_default_directory());
s.endGroup();
//FIXME: This looks wrong.
//QSettings s;
//s.beginGroup("GeneralSettings");
//s.setValue("default_directory", system_default_directory());
//s.endGroup();
pagesList = new QListWidget();
pagesStack = new QStackedWidget();