From 43b255a1880d0e885afebb01a1f9a1dc4bc69de5 2013-09-23 10:50:38 From: Titta Heikkala Date: 2013-09-23 10:50:38 Subject: [PATCH] Fix text color for debug information Debug information is drawn with a gray pen so that it can be seen with all current chart themes. Task-number: QTRD-2326 Change-Id: I32da226e5ae834ff9b3088ef5fac72e85610508f Reviewed-by: Miikka Heikkinen --- diff --git a/src/chartbackground.cpp b/src/chartbackground.cpp index 89ec5e8..e0ec63e 100644 --- a/src/chartbackground.cpp +++ b/src/chartbackground.cpp @@ -71,7 +71,7 @@ void ChartBackground::paint(QPainter *painter, const QStyleOptionGraphicsItem *o painter->setBrush(brush()); painter->drawRoundedRect(rect(), m_diameter, m_diameter); #ifndef QT_NO_DEBUG - painter->setPen(Qt::black); + painter->setPen(Qt::gray); QFont font; QString build("build %1"); font.setPointSize(6);