summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorDenis Oliver Kropp <dok@directfb.org>2011-04-18 10:24:31 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2011-04-18 10:25:45 (GMT)
commit41c3b83ff68d2a58f5fda462907bbf0f8c63effc (patch)
tree2717a0a159eeb368a9e13b73309c402227986566 /src/plugins
parentcec6c3ad52f6b4cdf04b70340ff7d15ebd8c7d26 (diff)
downloadQt-41c3b83ff68d2a58f5fda462907bbf0f8c63effc.zip
Qt-41c3b83ff68d2a58f5fda462907bbf0f8c63effc.tar.gz
Qt-41c3b83ff68d2a58f5fda462907bbf0f8c63effc.tar.bz2
Fix build of Qt/DirectFB without graphics view support.
Merge-request: 1187 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp
index 3d8cf50..9a94c30 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp
@@ -365,10 +365,12 @@ void QDirectFBWindowSurface::flush(QWidget *widget, const QRegion &region,
if (!win)
return;
-#ifndef QT_NO_QWS_PROXYSCREEN
+#if !defined(QT_NO_QWS_PROXYSCREEN) && !defined(QT_NO_GRAPHICSVIEW)
QWExtra *extra = qt_widget_private(widget)->extraData();
if (extra && extra->proxyWidget)
return;
+#else
+ Q_UNUSED(widget);
#endif
const quint8 windowOpacity = quint8(win->windowOpacity() * 0xff);