summaryrefslogtreecommitdiffstats
path: root/src/compositor/compositor_api/qwaylandview.cpp
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@theqtcompany.com>2015-08-17 11:51:33 +0200
committerJørgen Lind <jorgen.lind@theqtcompany.com>2015-08-28 13:10:33 +0200
commite38e7cf94d2c66d0562edaafe8ece708c191cbde (patch)
tree040370814c1ff3bd8b2e70f2d7277b4dcb08e361 /src/compositor/compositor_api/qwaylandview.cpp
parent8dc36b6e0269cb51ce53c203ebb53cfa97854c8e (diff)
Move ref and unref from QWaylandSurface to private
There shouldn't be a need to call these functions manually, and if there is then their available in the private implementation. Also removed some relay functions in QWaylandSurface Change-Id: I18944c5f1fe87a070baf0c19f1b48aec796774d7
Diffstat (limited to 'src/compositor/compositor_api/qwaylandview.cpp')
-rw-r--r--src/compositor/compositor_api/qwaylandview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compositor/compositor_api/qwaylandview.cpp b/src/compositor/compositor_api/qwaylandview.cpp
index c55bd5b5d..a711989d5 100644
--- a/src/compositor/compositor_api/qwaylandview.cpp
+++ b/src/compositor/compositor_api/qwaylandview.cpp
@@ -74,7 +74,7 @@ QWaylandView::~QWaylandView()
if (i->mouseFocus() == this)
i->setMouseFocus(Q_NULLPTR);
- d->surface->deref();
+ QWaylandSurfacePrivate::get(d->surface)->derefView(this);
}
}