diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-11-04 13:09:44 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-11-04 14:47:10 -0800 |
commit | 6201ac34b412eb57e0ca03401da22ed9ae683c38 (patch) | |
tree | 5d41d1f3b69021918e1c74cef27f0cdd55e27c0f /desktop-widgets/tab-widgets/TabBase.h | |
parent | 4c6b00f812757508118deee286886243485b3142 (diff) | |
download | subsurface-6201ac34b412eb57e0ca03401da22ed9ae683c38.tar.gz |
desktop: automatically pick a good theme title color
The preference setting seemed far too strange to do this. And not very user
friendly. So instead we figure out if this is a dark theme or not by looking at
text and background colors in the palette, and make sure we get notified if
that changes.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/tab-widgets/TabBase.h')
-rw-r--r-- | desktop-widgets/tab-widgets/TabBase.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/tab-widgets/TabBase.h b/desktop-widgets/tab-widgets/TabBase.h index 3f8d9bf85..928de633f 100644 --- a/desktop-widgets/tab-widgets/TabBase.h +++ b/desktop-widgets/tab-widgets/TabBase.h @@ -13,7 +13,7 @@ public: TabBase(QWidget *parent = 0); virtual void updateData() = 0; virtual void clear() = 0; - virtual void updateUi(); + virtual void updateUi(QString titleColor); }; #endif |