aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-12-18 18:18:33 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-18 13:38:24 -0800
commit2f05934936941f4b0229f2bd9822bd9933dea219 (patch)
tree2b5e09e1fed11b4ca88b621ae36f6dcdb07c223b /qt-ui
parent1e443eb78b2c26532d41be19557dcedaa242b12f (diff)
downloadsubsurface-2f05934936941f4b0229f2bd9822bd9933dea219.tar.gz
Whitespace fix
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/preferences.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/qt-ui/preferences.cpp b/qt-ui/preferences.cpp
index 4e71a0ef3..91a34a6ba 100644
--- a/qt-ui/preferences.cpp
+++ b/qt-ui/preferences.cpp
@@ -117,10 +117,10 @@ void PreferencesDialog::setUiFromPrefs()
QSettings s;
s.beginGroup("Language");
ui.languageSystemDefault->setChecked(s.value("UseSystemLanguage", true).toBool());
- QAbstractItemModel *m = ui.languageView->model();
- QModelIndexList languages = m->match( m->index(0,0), Qt::UserRole, s.value("UiLanguage").toString());
- if (languages.count())
- ui.languageView->setCurrentIndex(languages.first());
+ QAbstractItemModel *m = ui.languageView->model();
+ QModelIndexList languages = m->match( m->index(0,0), Qt::UserRole, s.value("UiLanguage").toString());
+ if (languages.count())
+ ui.languageView->setCurrentIndex(languages.first());
}
void PreferencesDialog::restorePrefs()