summaryrefslogtreecommitdiffstats
path: root/core/settings
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-04-19 12:39:59 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-04-19 14:27:54 -0700
commitad66297cfd843199f39e3a231cb8311652ea183c (patch)
treefedc6cf6422fa120de30c570f3b9a7a1224242de /core/settings
parent4fd4b75269469ee1029c51bdaf8275149d20a929 (diff)
downloadsubsurface-ad66297cfd843199f39e3a231cb8311652ea183c.tar.gz
desktop: remove user survey
We have never made good use of the results. Let's just remove it. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/settings')
-rw-r--r--core/settings/qPrefDisplay.cpp6
-rw-r--r--core/settings/qPrefDisplay.h6
2 files changed, 0 insertions, 12 deletions
diff --git a/core/settings/qPrefDisplay.cpp b/core/settings/qPrefDisplay.cpp
index cea33a90a..c733b0c6b 100644
--- a/core/settings/qPrefDisplay.cpp
+++ b/core/settings/qPrefDisplay.cpp
@@ -17,9 +17,6 @@ static const QString st_lastDir_default;
QString qPrefDisplay::st_theme;
static const QString st_theme_default = QStringLiteral("Blue");
-QString qPrefDisplay::st_userSurvey;
-static const QString st_userSurvey_default;
-
QByteArray qPrefDisplay::st_mainSplitter;
static const QByteArray st_mainSplitter_default;
@@ -61,7 +58,6 @@ void qPrefDisplay::loadSync(bool doSync)
if (!doSync) {
load_tooltip_position();
load_theme();
- load_userSurvey();
load_mainSplitter();
load_topSplitter();
load_bottomSplitter();
@@ -186,8 +182,6 @@ 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_QBYTEARRAY(Display, "MainWindow/mainSplitter", mainSplitter);
HANDLE_PROP_QBYTEARRAY(Display, "MainWindow/topSplitter", topSplitter);
diff --git a/core/settings/qPrefDisplay.h b/core/settings/qPrefDisplay.h
index 42d5c8e84..61fa5dbaf 100644
--- a/core/settings/qPrefDisplay.h
+++ b/core/settings/qPrefDisplay.h
@@ -17,7 +17,6 @@ class qPrefDisplay : public QObject {
Q_PROPERTY(bool show_developer READ show_developer WRITE set_show_developer NOTIFY show_developerChanged)
Q_PROPERTY(QString theme READ theme WRITE set_theme NOTIFY themeChanged)
Q_PROPERTY(QPointF tooltip_position READ tooltip_position WRITE set_tooltip_position NOTIFY tooltip_positionChanged)
- Q_PROPERTY(QString userSurvey READ userSurvey WRITE set_userSurvey NOTIFY userSurveyChanged)
Q_PROPERTY(QByteArray mainSplitter READ mainSplitter WRITE set_mainSplitter NOTIFY mainSplitterChanged)
Q_PROPERTY(QByteArray topSplitter READ topSplitter WRITE set_topSplitter NOTIFY topSplitterChanged)
Q_PROPERTY(QByteArray bottomSplitter READ bottomSplitter WRITE set_bottomSplitter NOTIFY bottomSplitterChanged)
@@ -45,7 +44,6 @@ public:
static bool show_developer() { return prefs.show_developer; }
static QString theme() { return st_theme; }
static QPointF tooltip_position() { return st_tooltip_position; }
- static QString userSurvey() { return st_userSurvey; }
static QByteArray mainSplitter() { return st_mainSplitter; }
static QByteArray topSplitter() { return st_topSplitter; }
static QByteArray bottomSplitter() { return st_bottomSplitter; }
@@ -65,7 +63,6 @@ public slots:
static void set_show_developer(bool value);
static void set_theme(const QString &value);
static void set_tooltip_position(const QPointF &value);
- static void set_userSurvey(const QString &value);
static void set_mainSplitter(const QByteArray &value);
static void set_topSplitter(const QByteArray &value);
static void set_bottomSplitter(const QByteArray &value);
@@ -85,7 +82,6 @@ signals:
void show_developerChanged(bool value);
void themeChanged(const QString &value);
void tooltip_positionChanged(const QPointF &value);
- void userSurveyChanged(const QString &value);
void mainSplitterChanged(const QByteArray &value);
void topSplitterChanged(const QByteArray &value);
void bottomSplitterChanged(const QByteArray &value);
@@ -110,7 +106,6 @@ private:
static void load_lastDir();
static void load_theme();
static void load_tooltip_position();
- static void load_userSurvey();
static void load_mainSplitter();
static void load_topSplitter();
static void load_bottomSplitter();
@@ -127,7 +122,6 @@ private:
static QString st_lastDir;
static QString st_theme;
static QPointF st_tooltip_position;
- static QString st_userSurvey;
static QByteArray st_mainSplitter;
static QByteArray st_topSplitter;
static QByteArray st_bottomSplitter;