mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
7129ad92a4
commit
7e243fe363
3 changed files with 84 additions and 14 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue