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/ios/qiosbackingstore.mm | |
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/ios/qiosbackingstore.mm')
-rw-r--r-- | src/plugins/platforms/ios/qiosbackingstore.mm | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/platforms/ios/qiosbackingstore.mm b/src/plugins/platforms/ios/qiosbackingstore.mm index 6007e247f0..2dadc5672b 100644 --- a/src/plugins/platforms/ios/qiosbackingstore.mm +++ b/src/plugins/platforms/ios/qiosbackingstore.mm @@ -105,12 +105,6 @@ void QIOSBackingStore::flush(QWindow *window, const QRegion ®ion, const QPoin m_context->swapBuffers(window); } -void QIOSBackingStore::endPaint() -{ - // Calling makeDone() on the context here would be an option, - // but is not needed, and would actually add some overhead. -} - void QIOSBackingStore::resize(const QSize &size, const QRegion &staticContents) { Q_UNUSED(staticContents); |