src/gui/painting/qwindowsurface_qws.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
child 7 f7bc934e204c
--- a/src/gui/painting/qwindowsurface_qws.cpp	Tue Jan 26 12:42:25 2010 +0200
+++ b/src/gui/painting/qwindowsurface_qws.cpp	Tue Feb 02 00:43:10 2010 +0200
@@ -668,9 +668,11 @@
     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);