aboutsummaryrefslogtreecommitdiffstats
path: root/softwarecontext
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2014-08-08 15:58:14 +0200
committerLars Knoll <lars.knoll@digia.com>2014-08-08 17:42:31 +0300
commitcfa953df53f62e71acf0e17c54cc36e6c86b05f5 (patch)
tree03b5aa896c4536e26eb3ed1f37d9056eaa4cc5e6 /softwarecontext
parent01b46fe02dbcf122b8c812f516645e22e5445dfb (diff)
Fix default background color
Change-Id: I7dd4ca61678b677d0004667d873ee3fcd44604bf Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'softwarecontext')
-rw-r--r--softwarecontext/context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/softwarecontext/context.cpp b/softwarecontext/context.cpp
index f4ed365264..8b90d73496 100644
--- a/softwarecontext/context.cpp
+++ b/softwarecontext/context.cpp
@@ -100,7 +100,7 @@ void Renderer::render()
QPainter painter(device);
painter.setRenderHint(QPainter::Antialiasing);
- painter.fillRect(rect, Qt::white);
+ painter.fillRect(rect, clearColor());
RenderingVisitor(&painter).visitChildren(rootNode());
backingStore->endPaint();