diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-11-04 14:29:48 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-11-04 14:51:55 -0800 |
commit | be3190db8a14fc51d88c65f5359b9b7787acd2a7 (patch) | |
tree | 6ddd57c9aca8e57b669d3627ea38caba3187ed80 /core/settings/qPrefDisplay.h | |
parent | 6201ac34b412eb57e0ca03401da22ed9ae683c38 (diff) | |
download | subsurface-be3190db8a14fc51d88c65f5359b9b7787acd2a7.tar.gz |
revert preference settings for title color
Because of subsequent changes there is no clean way to just revert the changes
introduced in commit 8b36cf1051 ("desktop: offer different colors for info tab
titles"), so this manually removes the parts we don't need anymore.
This also restores a tooltip value that was inadvertantly removed in that
commit.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/settings/qPrefDisplay.h')
-rw-r--r-- | core/settings/qPrefDisplay.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/core/settings/qPrefDisplay.h b/core/settings/qPrefDisplay.h index 6c265c593..61fa5dbaf 100644 --- a/core/settings/qPrefDisplay.h +++ b/core/settings/qPrefDisplay.h @@ -8,7 +8,6 @@ class qPrefDisplay : public QObject { Q_OBJECT - Q_PROPERTY(enum headerstyle_color_values headerstyle_color READ headerstyle_color WRITE set_headerstyle_color NOTIFY headerstyle_colorChanged) Q_PROPERTY(int animation_speed READ animation_speed WRITE set_animation_speed NOTIFY animation_speedChanged) Q_PROPERTY(QString divelist_font READ divelist_font WRITE set_divelist_font NOTIFY divelist_fontChanged) Q_PROPERTY(double font_size READ font_size WRITE set_font_size NOTIFY font_sizeChanged) @@ -36,7 +35,6 @@ public: static void sync() { loadSync(true); } public: - static enum headerstyle_color_values headerstyle_color() { return prefs.headerstyle_color; } static int animation_speed() { return prefs.animation_speed; } static QString divelist_font() { return prefs.divelist_font; } static double font_size() { return prefs.font_size; } @@ -56,7 +54,6 @@ public: static bool singleColumnPortrait() { return st_singleColumnPortrait; } public slots: - static void set_headerstyle_color(enum headerstyle_color_values value); static void set_animation_speed(int value); static void set_divelist_font(const QString &value); static void set_font_size(double value); @@ -76,7 +73,6 @@ public slots: static void set_singleColumnPortrait(bool value); signals: - void headerstyle_colorChanged(enum headerstyle_color_values value); void animation_speedChanged(int value); void divelist_fontChanged(const QString &value); void font_sizeChanged(double value); @@ -99,7 +95,6 @@ private: qPrefDisplay() {} // functions to load/sync variable with disk - static void disk_headerstyle_color(bool doSync); static void disk_animation_speed(bool doSync); static void disk_divelist_font(bool doSync); static void disk_font_size(bool doSync); |