summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qwindowsurface_raster.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-05-07 16:43:12 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-05-07 16:43:12 (GMT)
commit6c067866db65f113237a4c28374317c948da8ba9 (patch)
treec8920e1ecbd4c6875691f52d5579e7264fb4af0d /src/gui/painting/qwindowsurface_raster.cpp
parent61bec93c12bdc2912b38264386af07f80c3c0272 (diff)
parent90a65aa6611eb33229cdc00ffe6c22012944ba1a (diff)
downloadQt-6c067866db65f113237a4c28374317c948da8ba9.zip
Qt-6c067866db65f113237a4c28374317c948da8ba9.tar.gz
Qt-6c067866db65f113237a4c28374317c948da8ba9.tar.bz2
Merge branch '4.5'
Conflicts: src/gui/painting/qbackingstore.cpp src/gui/painting/qwindowsurface_raster.cpp
Diffstat (limited to 'src/gui/painting/qwindowsurface_raster.cpp')
-rw-r--r--src/gui/painting/qwindowsurface_raster.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/painting/qwindowsurface_raster.cpp b/src/gui/painting/qwindowsurface_raster.cpp
index dd4f7fd..3e7b015 100644
--- a/src/gui/painting/qwindowsurface_raster.cpp
+++ b/src/gui/painting/qwindowsurface_raster.cpp
@@ -142,8 +142,7 @@ void QRasterWindowSurface::beginPaint(const QRegion &rgn)
p.fillRect(*it, blank);
}
}
-#endif
-#if defined(Q_WS_WINCE)
+#else
Q_UNUSED(rgn);
#endif
}
@@ -250,6 +249,7 @@ void QRasterWindowSurface::flush(QWidget *widget, const QRegion &rgn, const QPoi
// d->image->image.save("flush.png");
+ Q_UNUSED(offset);
// Get a context for the widget.
#ifndef QT_MAC_USE_COCOA
CGContextRef context;