summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2016-11-11 08:59:39 +0100
committerJohan Helsing <johan.helsing@qt.io>2016-11-11 09:54:35 +0000
commit99c3d12f1a4ac152a80f4ad97a6cee5a0e8bb370 (patch)
tree2108c0170a3af9f00b880bd4588981c7abaccd34
parent70740da8978cb87b269fcaa73d71595c3c396545 (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.cpp4
-rw-r--r--src/client/qwaylandshmbackingstore_p.h1
-rw-r--r--src/client/qwaylandwindow.cpp3
3 files changed, 0 insertions, 8 deletions
diff --git a/src/client/qwaylandshmbackingstore.cpp b/src/client/qwaylandshmbackingstore.cpp
index 13f823ed..5f8336c1 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 c3e76350..5068519d 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 e72ed770..6c3647d8 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();
- }
}
}
}