[PATCH] Try to fix the white font on Windows 7

Lubomir I. Ivanov neolit123 at gmail.com
Wed Oct 7 04:27:58 PDT 2015


On 6 October 2015 at 00:27, Tomaz Canabrava <tcanabrava at kde.org> wrote:
> This should fix it.
> if not, it's a start and people that have windows should look at this patch
> to see how it can be fixed.
>

works for Windows Vista/7 themes, but doesn't work on Windows XP
themes, which have a dark blue background for items.
hardcoding one of the colors is not a good solution. either all colors
should be hardcoded or none.

i've tried fixing it but the highlightedText() color is returned
white, while the background is the light blue on Windows Vista/7
themes.

the divelist selected items looks fine on the other hand:
- the highlight text is black
- the background is the light blue gradient thingy

so, i wonder how is the black highlightedText() text picked for divelist items?
is this some sort of a QStyleOptionViewItemV4 issue...

lubomir
--


More information about the subsurface mailing list