diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2016-11-11 08:59:39 +0100 |
---|---|---|
committer | Johan Helsing <johan.helsing@qt.io> | 2016-11-11 09:54:35 +0000 |
commit | 99c3d12f1a4ac152a80f4ad97a6cee5a0e8bb370 (patch) | |
tree | 2108c0170a3af9f00b880bd4588981c7abaccd34 | |
parent | 70740da8978cb87b269fcaa73d71595c3c396545 (diff) |
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>
-rw-r--r-- | src/client/qwaylandshmbackingstore.cpp | 4 | ||||
-rw-r--r-- | src/client/qwaylandshmbackingstore_p.h | 1 | ||||
-rw-r--r-- | src/client/qwaylandwindow.cpp | 3 |
3 files changed, 0 insertions, 8 deletions
diff --git a/src/client/qwaylandshmbackingstore.cpp b/src/client/qwaylandshmbackingstore.cpp index 13f823edf..5f8336c14 100644 --- a/src/client/qwaylandshmbackingstore.cpp +++ b/src/client/qwaylandshmbackingstore.cpp @@ -185,10 +185,6 @@ void QWaylandShmBackingStore::endPaint() waylandWindow()->setCanResize(true); } -void QWaylandShmBackingStore::hidden() -{ -} - void QWaylandShmBackingStore::ensureSize() { waylandWindow()->setBackingStore(this); diff --git a/src/client/qwaylandshmbackingstore_p.h b/src/client/qwaylandshmbackingstore_p.h index c3e763502..5068519d8 100644 --- a/src/client/qwaylandshmbackingstore_p.h +++ b/src/client/qwaylandshmbackingstore_p.h @@ -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; diff --git a/src/client/qwaylandwindow.cpp b/src/client/qwaylandwindow.cpp index e72ed7704..6c3647d81 100644 --- a/src/client/qwaylandwindow.cpp +++ b/src/client/qwaylandwindow.cpp @@ -341,9 +341,6 @@ void QWaylandWindow::setVisible(bool visible) if (!deleteGuard.isNull()) { attach(static_cast<QWaylandBuffer *>(0), 0, 0); commit(); - if (mBackingStore) { - mBackingStore->hidden(); - } } } } |