From 7809077b33dd990c80568ea116d23fee696cfaec Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 5 May 2014 15:56:11 -0700 Subject: Fix odd indentation I need to fix this in the tool as well... Signed-off-by: Dirk Hohndel --- qt-ui/preferences.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'qt-ui') 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() { -- cgit v1.2.3-70-g09d2