From 55f2fe374f0314e87e1ca5618bab6fac94430c78 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 5 Apr 2016 18:24:44 +0200 Subject: purge symbian vestiges Change-Id: I3e66ce25ea21aa846b44b6f99b8afbe0959a6526 Reviewed-by: Lars Knoll --- examples/script/context2d/qcontext2dcanvas.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'examples/script/context2d/qcontext2dcanvas.cpp') diff --git a/examples/script/context2d/qcontext2dcanvas.cpp b/examples/script/context2d/qcontext2dcanvas.cpp index 9580b7f..af241b0 100644 --- a/examples/script/context2d/qcontext2dcanvas.cpp +++ b/examples/script/context2d/qcontext2dcanvas.cpp @@ -84,11 +84,6 @@ void QContext2DCanvas::contentsChanged(const QImage &image) void QContext2DCanvas::paintEvent(QPaintEvent *e) { QPainter p(this); -#ifdef Q_OS_SYMBIAN - // Draw white rect first since in with some themes the js-file content will produce black-on-black. - QBrush whiteBgBrush(Qt::white); - p.fillRect(e->rect(), whiteBgBrush); -#endif p.setClipRect(e->rect()); p.drawImage(0, 0, m_image); } -- cgit v1.2.1