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/kms | |
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/kms')
-rw-r--r-- | src/plugins/platforms/kms/qkmsbackingstore.cpp | 4 | ||||
-rw-r--r-- | src/plugins/platforms/kms/qkmsbackingstore.h | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/plugins/platforms/kms/qkmsbackingstore.cpp b/src/plugins/platforms/kms/qkmsbackingstore.cpp index 6cd280d719..29395f3b4f 100644 --- a/src/plugins/platforms/kms/qkmsbackingstore.cpp +++ b/src/plugins/platforms/kms/qkmsbackingstore.cpp @@ -78,10 +78,6 @@ void QKmsBackingStore::beginPaint(const QRegion &rgn) m_dirty |= rgn; } -void QKmsBackingStore::endPaint() -{ -} - void QKmsBackingStore::flush(QWindow *window, const QRegion ®ion, const QPoint &offset) { Q_UNUSED(region) diff --git a/src/plugins/platforms/kms/qkmsbackingstore.h b/src/plugins/platforms/kms/qkmsbackingstore.h index d9221d2d19..34ea49a346 100644 --- a/src/plugins/platforms/kms/qkmsbackingstore.h +++ b/src/plugins/platforms/kms/qkmsbackingstore.h @@ -59,7 +59,6 @@ public: QPaintDevice *paintDevice(); void beginPaint(const QRegion &); - void endPaint(); void flush(QWindow *window, const QRegion ®ion, const QPoint &offset); void resize(const QSize &size, const QRegion &staticContents); |