diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-05-05 15:56:11 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-05-05 15:56:11 -0700 |
commit | 7809077b33dd990c80568ea116d23fee696cfaec (patch) | |
tree | 3e1241f3b741ffd560f5eef32590b6ceadeed162 /qt-ui | |
parent | 7b0f737f600ff8e30ccb46963f964756a7b87b57 (diff) | |
download | subsurface-7809077b33dd990c80568ea116d23fee696cfaec.tar.gz |
Fix odd indentation
I need to fix this in the tool as well...
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/preferences.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/qt-ui/preferences.cpp b/qt-ui/preferences.cpp index c7aec14a6..f68ab7014 100644 --- a/qt-ui/preferences.cpp +++ b/qt-ui/preferences.cpp @@ -138,42 +138,42 @@ void PreferencesDialog::rememberPrefs() if (v.isValid()) \ prefs.units.field = (v.toInt() == (t)) ? (t) : (f); \ else \ - prefs.units.field = default_prefs.units.field + prefs.units.field = default_prefs.units.field #define GET_BOOL(name, field) \ v = s.value(QString(name)); \ if (v.isValid()) \ prefs.field = v.toInt() ? true : false; \ else \ - prefs.field = default_prefs.field + prefs.field = default_prefs.field #define GET_DOUBLE(name, field) \ v = s.value(QString(name)); \ if (v.isValid()) \ prefs.field = v.toDouble(); \ else \ - prefs.field = default_prefs.field + prefs.field = default_prefs.field #define GET_INT(name, field) \ v = s.value(QString(name)); \ if (v.isValid()) \ prefs.field = v.toInt(); \ else \ - prefs.field = default_prefs.field + prefs.field = default_prefs.field #define GET_TXT(name, field) \ v = s.value(QString(name)); \ if (v.isValid()) \ prefs.field = strdup(v.toString().toUtf8().constData()); \ else \ - prefs.field = default_prefs.field + prefs.field = default_prefs.field #define GET_TXT(name, field) \ v = s.value(QString(name)); \ if (v.isValid()) \ prefs.field = strdup(v.toString().toUtf8().constData()); \ else \ - prefs.field = default_prefs.field + prefs.field = default_prefs.field void PreferencesDialog::syncSettings() { |