summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-04-07 06:05:02 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-04-07 06:05:02 (GMT)
commitd821e3288c3f3dee0c4591e6fc64114511559680 (patch)
treed4d48b25f0cb9548479d3ffbbb23517e917f8d12
parentd3a4c7314ad7694361f510beeadcc012daf7992b (diff)
downloadQt-d821e3288c3f3dee0c4591e6fc64114511559680.zip
Qt-d821e3288c3f3dee0c4591e6fc64114511559680.tar.gz
Qt-d821e3288c3f3dee0c4591e6fc64114511559680.tar.bz2
Kill some warnings
Reviewed-by: TrustMe
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbsurface.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbsurface.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbsurface.cpp
index 8140860..4b8fe0a 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbsurface.cpp
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbsurface.cpp
@@ -334,6 +334,12 @@ inline bool isWidgetOpaque(const QWidget *w)
void QDirectFBSurface::flush(QWidget *widget, const QRegion &region,
const QPoint &offset)
{
+ Q_UNUSED(widget);
+#ifdef QT_NO_DIRECTFB_WM
+ Q_UNUSED(region);
+ Q_UNUSED(offset);
+#endif
+
QWidget *win = window();
// hw: make sure opacity information is updated before compositing