diff options
author | Eike Ziller <eike.ziller@qt.io> | 2018-12-10 10:36:28 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2018-12-10 14:18:42 +0000 |
commit | f1e929f0e75a928650c1b257783fd0a9eb8b450c (patch) | |
tree | 8db7e3ea685d32c447dce69fcdd413930e329a47 /src/plugins/cpptools/compileroptionsbuilder.cpp | |
parent | 4cb4b7ba993575ce43e0786454625501012d5500 (diff) | |
download | qt-creator-f1e929f0e75a928650c1b257783fd0a9eb8b450c.tar.gz |
Color schemes: Fix wrong colors for unset values
Defaulting to C_TEXT in that case is correct, but the values
for C_TEXT are set via the palette, so other display features like
the current line highlighting and the block visualization,
which are painted _below_ the text, are not overridden.
So, the correct way for a style to set the same foreground and
background colors as C_TEXT, is to leave these colors unset.
Fixes: QTCREATORBUG-21661
Change-Id: I8cdb73e8edc5e3883e1ef107bd1c2b29e6d75b9c
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/cpptools/compileroptionsbuilder.cpp')
0 files changed, 0 insertions, 0 deletions