summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2010-09-14 08:33:39 (GMT)
committerSamuel Rødal <samuel.rodal@nokia.com>2010-09-14 10:15:24 (GMT)
commit39accdb3bbb86a298665507ca2700b20f56ba64d (patch)
tree79b60e3fbf82b512599cfc63d82aaa69a61e5fef /src
parent90e6ee87cc12dbdfa8cf75881cf1b1a7103aafd4 (diff)
downloadQt-39accdb3bbb86a298665507ca2700b20f56ba64d.zip
Qt-39accdb3bbb86a298665507ca2700b20f56ba64d.tar.gz
Qt-39accdb3bbb86a298665507ca2700b20f56ba64d.tar.bz2
Fixed missing background for regular Qt applications with MeeGo system.
Setting NoSystemBackground means that top-level widget backgrounds don't get painted any more. Another work-around must be found to prevent flickering. Reviewed-by: Gunnar Sletta
Diffstat (limited to 'src')
-rw-r--r--src/plugins/graphicssystems/meego/qmeegographicssystem.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/graphicssystems/meego/qmeegographicssystem.cpp b/src/plugins/graphicssystems/meego/qmeegographicssystem.cpp
index e2c8425..2a64d49 100644
--- a/src/plugins/graphicssystems/meego/qmeegographicssystem.cpp
+++ b/src/plugins/graphicssystems/meego/qmeegographicssystem.cpp
@@ -73,7 +73,6 @@ QWindowSurface* QMeeGoGraphicsSystem::createWindowSurface(QWidget *widget) const
{
QMeeGoGraphicsSystem::surfaceWasCreated = true;
QWindowSurface *surface = new QGLWindowSurface(widget);
- surface->window()->setAttribute(Qt::WA_NoSystemBackground);
return surface;
}