fbbackingstore: Don't overload inherited virtual function

The QPlatformBackingStore::endPaint function does not take any
parameters.

Change-Id: If15d7824d65a52c38332c6676c12a954469a58ab
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
bb10
Kent Hansen 2012-08-24 10:38:20 +02:00 committed by Qt by Nokia
parent 4d5f3cf627
commit 3b65c716e5
2 changed files with 2 additions and 3 deletions

View File

@ -79,9 +79,8 @@ void QFbBackingStore::beginPaint(const QRegion &region)
Q_UNUSED(region);
}
void QFbBackingStore::endPaint(const QRegion &region)
void QFbBackingStore::endPaint()
{
Q_UNUSED(region);
}
QT_END_NAMESPACE

View File

@ -60,7 +60,7 @@ public:
virtual void flush(QWindow *window, const QRegion &region, const QPoint &offset);
virtual void beginPaint(const QRegion &region);
virtual void endPaint(const QRegion &region);
virtual void endPaint();
virtual void resize(const QSize &size, const QRegion &region);