Themes: Reinstate DerivePaletteFromTheme for "Flat" theme

The Flat theme did not enforce the application palette, anymore, if run
on a system in dark mode. But it should, otherwise the system palette is
applied to parts of the application and might alter the appearance.

This reinstates the mechanism.

Fixes: QTCREATORBUG-30709
Change-Id: I2698cb09c8f299bd8f733214f2b0d8236aaa4660
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Alessandro Portale
2024-04-18 15:37:10 +02:00
parent c0dfb3ce57
commit bfbbd7226b

View File

@@ -500,7 +500,7 @@ TerminalAnsi15=ffffff
[Flags]
ComboBoxDrawTextShadow=false
DerivePaletteFromThemeIfNeeded=true
DerivePaletteFromTheme=true
DrawIndicatorBranch=true
DrawSearchResultWidgetFrame=false
DrawTargetSelectorBottom=false