Use QPalette::BrightText for global search results for better contrast on Mac.

(cherry picked from commit e4070bbb3b)
This commit is contained in:
John Maguire 2011-12-13 13:48:08 +01:00
parent 6fae660ed9
commit 0af197f6a1
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ QString TooltipResultWidget::TitleText() const {
void TooltipResultWidget::paintEvent(QPaintEvent*) {
QPainter p(this);
const QColor text_color = palette().color(QPalette::Text);
const QColor text_color = palette().color(QPalette::BrightText);
const qreal line_opacity = 0.1 + (isChecked() ? 0.2 : 0.0);
const qreal track_opacity = 0.1 + (isChecked() ? 0.5 : 0.0);