diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2009-04-07 06:05:02 (GMT) |
---|---|---|
committer | Anders Bakken <anders.bakken@nokia.com> | 2009-04-07 06:05:02 (GMT) |
commit | d821e3288c3f3dee0c4591e6fc64114511559680 (patch) | |
tree | d4d48b25f0cb9548479d3ffbbb23517e917f8d12 | |
parent | d3a4c7314ad7694361f510beeadcc012daf7992b (diff) | |
download | Qt-d821e3288c3f3dee0c4591e6fc64114511559680.zip Qt-d821e3288c3f3dee0c4591e6fc64114511559680.tar.gz Qt-d821e3288c3f3dee0c4591e6fc64114511559680.tar.bz2 |
Kill some warnings
Reviewed-by: TrustMe
-rw-r--r-- | src/plugins/gfxdrivers/directfb/qdirectfbsurface.cpp | 6 |
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 ®ion, 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 |