diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-09-17 19:22:44 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-10-30 10:36:50 -0700 |
commit | 8cdae5ce24fbb2795ef4ee2cd5d35805e4d5646d (patch) | |
tree | 1beacaceef1519c87b599ef4a69d8328e6d04551 /desktop-widgets/preferences | |
parent | 315641b0b497a06dd508d8dee08b792623e091c7 (diff) | |
download | subsurface-8cdae5ce24fbb2795ef4ee2cd5d35805e4d5646d.tar.gz |
Code cleanup
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/preferences')
-rw-r--r-- | desktop-widgets/preferences/preferences_language.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/desktop-widgets/preferences/preferences_language.cpp b/desktop-widgets/preferences/preferences_language.cpp index f9cd1da93..07b60c3a3 100644 --- a/desktop-widgets/preferences/preferences_language.cpp +++ b/desktop-widgets/preferences/preferences_language.cpp @@ -20,7 +20,6 @@ PreferencesLanguage::PreferencesLanguage() : AbstractPreferencesWidget(tr("Langu filterModel->sort(0); connect(ui->languageFilter, &QLineEdit::textChanged, filterModel, &QSortFilterProxyModel::setFilterFixedString); - } PreferencesLanguage::~PreferencesLanguage() @@ -42,8 +41,6 @@ void PreferencesLanguage::refreshSettings() void PreferencesLanguage::syncSettings() { - // Locale - QLocale loc; QSettings s; s.beginGroup("Language"); bool useSystemLang = s.value("UseSystemLanguage", true).toBool(); |