summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/directfb
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@digia.com>2013-08-29 12:24:37 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-16 15:21:40 +0200
commit4c19055cb1b077cf161d9cd5c031d711f42a3f25 (patch)
tree6ea4db8cf8f78fbaaeec38e4e44aff172d8209a8 /src/plugins/platforms/directfb
parent7d3f77507529470e8641dde762565098e12c2d0d (diff)
remove unnecessary beginPaint and endPaint overrides
QPlatformBackingStore::endPaint does not take a QRegion parameter. 6ce6b8a378b0d97ba950240ffb048a4b7e485235 set the API, but the platform implementations were not all synced up since then. There was anyway no point in overriding beginPaint and endPaint on platforms which don't need to do anything there. This fixes clang warnings of the form QXcbBackingStore::endPaint hides overloaded virtual function Change-Id: Id6cd0fc2c831a34576ac2c73eeb0d5741d26e622 Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
Diffstat (limited to 'src/plugins/platforms/directfb')
-rw-r--r--src/plugins/platforms/directfb/qdirectfbbackingstore.cpp10
-rw-r--r--src/plugins/platforms/directfb/qdirectfbbackingstore.h3
2 files changed, 0 insertions, 13 deletions
diff --git a/src/plugins/platforms/directfb/qdirectfbbackingstore.cpp b/src/plugins/platforms/directfb/qdirectfbbackingstore.cpp
index facc03247f..4f0537cba4 100644
--- a/src/plugins/platforms/directfb/qdirectfbbackingstore.cpp
+++ b/src/plugins/platforms/directfb/qdirectfbbackingstore.cpp
@@ -119,14 +119,4 @@ bool QDirectFbBackingStore::scroll(const QRegion &area, int dx, int dy)
return true;
}
-void QDirectFbBackingStore::beginPaint(const QRegion &region)
-{
- Q_UNUSED(region);
-}
-
-void QDirectFbBackingStore::endPaint(const QRegion &region)
-{
- Q_UNUSED(region);
-}
-
QT_END_NAMESPACE
diff --git a/src/plugins/platforms/directfb/qdirectfbbackingstore.h b/src/plugins/platforms/directfb/qdirectfbbackingstore.h
index 3ed3e1223e..f311ffbf64 100644
--- a/src/plugins/platforms/directfb/qdirectfbbackingstore.h
+++ b/src/plugins/platforms/directfb/qdirectfbbackingstore.h
@@ -61,9 +61,6 @@ public:
void resize (const QSize &size, const QRegion &staticContents);
bool scroll(const QRegion &area, int dx, int dy);
- void beginPaint(const QRegion &region);
- void endPaint(const QRegion &region);
-
private:
void lockSurfaceToImage();