Make it possible to set color of QStaticText with pixel size >= 64
[profile/ivi/qtbase.git] / src / gui / painting / qpaintengineex.cpp
index 8510416..5105d9a 100644 (file)
@@ -1084,7 +1084,7 @@ void QPaintEngineEx::drawStaticTextItem(QStaticTextItem *staticTextItem)
             changedHints = true;
         }
 
-        fill(qtVectorPathForPath(path), staticTextItem->color);
+        fill(qtVectorPathForPath(path), s->pen.color());
 
         if (changedHints) {
             s->renderHints = oldHints;