diff options
author | Michael Schuster <michael@schuster.ms> | 2019-12-09 22:47:42 +0300 |
---|---|---|
committer | Michael Schuster <48932272+misch7@users.noreply.github.com> | 2019-12-09 23:37:21 +0300 |
commit | 789a2a7ae39f04fc1ad7b16ee28e5744a7dcec40 (patch) | |
tree | e2a6ede2dfa81dc31f0fc9794707e8029ed424bf /src/gui/settingsdialog.h | |
parent | be4fc6b8874a6030d1fa456f63fd387504abecc7 (diff) |
Make SettingsDialog background-aware (Dark-/Light-Mode switching)
Use customizeStyle() to change link colours in the SettingsDialog and notify it's widgets via slots.
Also modify the background colour of the errors messages in AccountSettings::showConnectionLabel
to always use an appropiate colour for it's custom-defined background.
Signed-off-by: Michael Schuster <michael@schuster.ms>
Diffstat (limited to 'src/gui/settingsdialog.h')
-rw-r--r-- | src/gui/settingsdialog.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/settingsdialog.h b/src/gui/settingsdialog.h index 869e796a4..67cf29e23 100644 --- a/src/gui/settingsdialog.h +++ b/src/gui/settingsdialog.h @@ -63,6 +63,9 @@ public slots: void slotAccountAvatarChanged(); void slotAccountDisplayNameChanged(); +signals: + void styleChanged(); + protected: void reject() override; void accept() override; |