diff options
author | Shawn Rutledge <shawn.rutledge@digia.com> | 2013-08-29 12:24:37 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-16 15:21:40 +0200 |
commit | 4c19055cb1b077cf161d9cd5c031d711f42a3f25 (patch) | |
tree | 6ea4db8cf8f78fbaaeec38e4e44aff172d8209a8 /src/plugins/platforms/qnx/qqnxrasterbackingstore.h | |
parent | 7d3f77507529470e8641dde762565098e12c2d0d (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/qnx/qqnxrasterbackingstore.h')
-rw-r--r-- | src/plugins/platforms/qnx/qqnxrasterbackingstore.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/qnx/qqnxrasterbackingstore.h b/src/plugins/platforms/qnx/qqnxrasterbackingstore.h index a344ff209d..4e682aa52d 100644 --- a/src/plugins/platforms/qnx/qqnxrasterbackingstore.h +++ b/src/plugins/platforms/qnx/qqnxrasterbackingstore.h @@ -61,7 +61,7 @@ public: void resize(const QSize &size, const QRegion &staticContents); bool scroll(const QRegion &area, int dx, int dy); void beginPaint(const QRegion ®ion); - void endPaint(const QRegion ®ion); + void endPaint(); private: class ScrollOp { |