diff options
author | Jens Bache-Wiig <jens.bache-wiig@digia.com> | 2012-11-15 16:45:04 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-15 18:15:50 +0100 |
commit | e9b6eb7795f5f87b705af0cae855c46c5c135297 (patch) | |
tree | 4ced30013cf0bc2bbb78d7b0b91fcb0e9a0be557 /src/widgets/styles/qfusionstyle.cpp | |
parent | f7d99ad50f11ee7c263d4c2bdbe024355a1ab3e9 (diff) |
Improve highligted colorization on mac with Fusion style
This mimics the platform behavior of using blue color when
the system palette is in use.
Change-Id: I9ad6a552614a3466a930ad5b28fc70d9343d2022
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'src/widgets/styles/qfusionstyle.cpp')
-rw-r--r-- | src/widgets/styles/qfusionstyle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/styles/qfusionstyle.cpp b/src/widgets/styles/qfusionstyle.cpp index 8e52a4b425..4121292cc7 100644 --- a/src/widgets/styles/qfusionstyle.cpp +++ b/src/widgets/styles/qfusionstyle.cpp @@ -1417,7 +1417,7 @@ void QFusionStyle::drawControl(ControlElement element, const QStyleOption *optio QRect leftRect; QRect rect = bar->rect; QColor textColor = option->palette.text().color(); - QColor alternateTextColor = option->palette.highlightedText().color(); + QColor alternateTextColor = d->highlightedText(option->palette); painter->save(); bool vertical = false, inverted = false; |