summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/context2d.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/context2d.cpp b/src/context2d.cpp
index 3f1c2ef..d8ca576 100644
--- a/src/context2d.cpp
+++ b/src/context2d.cpp
@@ -480,6 +480,7 @@ void Context2D::clearRect(qreal x, qreal y, qreal w, qreal h)
m_painter.setMatrix(m_state.matrix, false);
m_painter.setCompositionMode(QPainter::CompositionMode_Source);
QColor fillColor = parent()->property("color").value<QColor>();
+
m_painter.fillRect(QRectF(x, y, w, h), fillColor);
m_painter.restore();
scheduleChange();