summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/eglfs
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/eglfs
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/eglfs')
-rw-r--r--src/plugins/platforms/eglfs/qeglfsbackingstore.cpp4
-rw-r--r--src/plugins/platforms/eglfs/qeglfsbackingstore.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp b/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp
index e09154bb59..5b83a76143 100644
--- a/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp
+++ b/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp
@@ -203,10 +203,6 @@ void QEglFSBackingStore::beginPaint(const QRegion &rgn)
m_dirty = m_dirty | rgn;
}
-void QEglFSBackingStore::endPaint()
-{
-}
-
void QEglFSBackingStore::resize(const QSize &size, const QRegion &staticContents)
{
Q_UNUSED(staticContents);
diff --git a/src/plugins/platforms/eglfs/qeglfsbackingstore.h b/src/plugins/platforms/eglfs/qeglfsbackingstore.h
index 9c5d694b90..5d86814df9 100644
--- a/src/plugins/platforms/eglfs/qeglfsbackingstore.h
+++ b/src/plugins/platforms/eglfs/qeglfsbackingstore.h
@@ -62,7 +62,6 @@ public:
QPaintDevice *paintDevice();
void beginPaint(const QRegion &);
- void endPaint();
void flush(QWindow *window, const QRegion &region, const QPoint &offset);
void resize(const QSize &size, const QRegion &staticContents);