mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 21:03:23 +00:00
Whitespace fix
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1e443eb78b
commit
2f05934936
1 changed files with 4 additions and 4 deletions
|
@ -117,10 +117,10 @@ void PreferencesDialog::setUiFromPrefs()
|
||||||
QSettings s;
|
QSettings s;
|
||||||
s.beginGroup("Language");
|
s.beginGroup("Language");
|
||||||
ui.languageSystemDefault->setChecked(s.value("UseSystemLanguage", true).toBool());
|
ui.languageSystemDefault->setChecked(s.value("UseSystemLanguage", true).toBool());
|
||||||
QAbstractItemModel *m = ui.languageView->model();
|
QAbstractItemModel *m = ui.languageView->model();
|
||||||
QModelIndexList languages = m->match( m->index(0,0), Qt::UserRole, s.value("UiLanguage").toString());
|
QModelIndexList languages = m->match( m->index(0,0), Qt::UserRole, s.value("UiLanguage").toString());
|
||||||
if (languages.count())
|
if (languages.count())
|
||||||
ui.languageView->setCurrentIndex(languages.first());
|
ui.languageView->setCurrentIndex(languages.first());
|
||||||
}
|
}
|
||||||
|
|
||||||
void PreferencesDialog::restorePrefs()
|
void PreferencesDialog::restorePrefs()
|
||||||
|
|
Loading…
Add table
Reference in a new issue