Make SettingsDialog background-aware (Dark-/Light-Mode switching)
authorMichael Schuster <michael@schuster.ms>
Mon, 9 Dec 2019 19:47:42 +0000 (20:47 +0100)
committerMichael Schuster <48932272+misch7@users.noreply.github.com>
Mon, 9 Dec 2019 20:37:21 +0000 (21:37 +0100)
commit789a2a7ae39f04fc1ad7b16ee28e5744a7dcec40
treee2a6ede2dfa81dc31f0fc9794707e8029ed424bf
parentbe4fc6b8874a6030d1fa456f63fd387504abecc7
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>
src/gui/accountsettings.cpp
src/gui/accountsettings.h
src/gui/generalsettings.cpp
src/gui/generalsettings.h
src/gui/settingsdialog.cpp
src/gui/settingsdialog.h