Remove useless method QWaylandShmBackingStore::hidden

Change-Id: I8e28d3c1dc2c2bbff4517ffe3b2f63c2ac86b95f
Reviewed-by: Jan Arne Petersen <jan.petersen@kdab.com>
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
This commit is contained in:
Johan Klokkhammer Helsing 2016-11-11 08:59:39 +01:00 committed by Johan Helsing
parent dfb256be36
commit 68b4408400
3 changed files with 0 additions and 8 deletions

View File

@ -185,10 +185,6 @@ void QWaylandShmBackingStore::endPaint()
waylandWindow()->setCanResize(true);
}
void QWaylandShmBackingStore::hidden()
{
}
void QWaylandShmBackingStore::ensureSize()
{
waylandWindow()->setBackingStore(this);

View File

@ -96,7 +96,6 @@ public:
void resize(const QSize &size);
void beginPaint(const QRegion &) Q_DECL_OVERRIDE;
void endPaint() Q_DECL_OVERRIDE;
void hidden();
QWaylandAbstractDecoration *windowDecoration() const;

View File

@ -341,9 +341,6 @@ void QWaylandWindow::setVisible(bool visible)
if (!deleteGuard.isNull()) {
attach(static_cast<QWaylandBuffer *>(0), 0, 0);
commit();
if (mBackingStore) {
mBackingStore->hidden();
}
}
}
}