summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qwindowsurface_qws.cpp
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2009-10-28 14:50:04 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2009-10-29 16:00:14 (GMT)
commit9c681ddc3a70b220de5d38de498ab1804ec12d4a (patch)
tree703450a3b4e7eb02a64f668be81ae2434d575fe1 /src/gui/painting/qwindowsurface_qws.cpp
parent23b6599324bc62666d4303ca108ed372e8d7c490 (diff)
downloadQt-9c681ddc3a70b220de5d38de498ab1804ec12d4a.zip
Qt-9c681ddc3a70b220de5d38de498ab1804ec12d4a.tar.gz
Qt-9c681ddc3a70b220de5d38de498ab1804ec12d4a.tar.bz2
Fix GRAPHICSVIEW
Reviewed-by: tom
Diffstat (limited to 'src/gui/painting/qwindowsurface_qws.cpp')
-rw-r--r--src/gui/painting/qwindowsurface_qws.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/painting/qwindowsurface_qws.cpp b/src/gui/painting/qwindowsurface_qws.cpp
index 4f489c4..fa0c80e 100644
--- a/src/gui/painting/qwindowsurface_qws.cpp
+++ b/src/gui/painting/qwindowsurface_qws.cpp
@@ -668,9 +668,11 @@ void QWSWindowSurface::flush(QWidget *widget, const QRegion &region,
if (!win)
return;
+#ifndef QT_NO_GRAPHICSVIEW
QWExtra *extra = win->d_func()->extra;
if (extra && extra->proxyWidget)
return;
+#endif //QT_NO_GRAPHICSVIEW
Q_UNUSED(offset);