summaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefDisplay.cpp
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-09-09 18:38:23 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-11 17:25:00 -0700
commit7e243fe363daddfa8fa8dfd8f908311804962e03 (patch)
tree251610caef4523f5e364ee9c69a5d46a5e4a989b /core/settings/qPrefDisplay.cpp
parent7129ad92a4ee5899680815c8cd2648a9f71bb651 (diff)
downloadsubsurface-7e243fe363daddfa8fa8dfd8f908311804962e03.tar.gz
core/settings: correct UserSurvey -> userSurvey in qPrefDisplay
QML is quite special, the variables needs to start with lower case in C++ and are used starting with upper case in QML Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'core/settings/qPrefDisplay.cpp')
-rw-r--r--core/settings/qPrefDisplay.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/settings/qPrefDisplay.cpp b/core/settings/qPrefDisplay.cpp
index bb793d711..fcca8cd20 100644
--- a/core/settings/qPrefDisplay.cpp
+++ b/core/settings/qPrefDisplay.cpp
@@ -17,8 +17,8 @@ static const QString st_lastDir_default = "";
QString qPrefDisplay::st_theme;
static const QString st_theme_default = "Blue";
-QString qPrefDisplay::st_UserSurvey;
-static const QString st_UserSurvey_default = "";
+QString qPrefDisplay::st_userSurvey;
+static const QString st_userSurvey_default = "";
QByteArray qPrefDisplay::st_mainSplitter;
static const QByteArray st_mainSplitter_default = "";
@@ -61,7 +61,7 @@ void qPrefDisplay::loadSync(bool doSync)
if (!doSync) {
load_tooltip_position();
load_theme();
- load_UserSurvey();
+ load_userSurvey();
load_mainSplitter();
load_topSplitter();
load_bottomSplitter();
@@ -156,7 +156,7 @@ HANDLE_PROP_QSTRING(Display, "Theme/currentTheme", theme);
HANDLE_PROP_QPOINTF(Display, "ProfileMap/tooltip_position", tooltip_position);
-HANDLE_PROP_QSTRING(Display, "UserSurvey/SurveyDone", UserSurvey);
+HANDLE_PROP_QSTRING(Display, "UserSurvey/SurveyDone", userSurvey);
HANDLE_PROP_QBYTEARRAY(Display, "MainWindow/mainSplitter", mainSplitter);