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

This commit is contained in:
John Maguire 2011-12-13 13:48:08 +01:00
parent cfd4d319c7
commit e4070bbb3b
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);