Commit f45c5338 authored by Dimitris Kardarakos's avatar Dimitris Kardarakos Committed by Albert Astals Cid

Fix invisible color text in statistics legend

Since text color in statistics legend had been set to black, it was invisible when dark themes were used. With this fix, text color follows the user selected color theme.

REVIEW: 130125
parent ec0ba294
......@@ -97,7 +97,7 @@ void StatisticsLegendWidget::paintEvent(QPaintEvent *)
paintColorBar(painter, rect, wordCount, colors);
// Draw the legend texts
painter.drawText(leftRect, Qt::AlignRight | Qt::AlignVCenter, leftString);
painter.drawText(rightRect, Qt::AlignLeft | Qt::AlignVCenter, rightString);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment