From 02b9cf739f69e6253a4fe72a16ca0e2ade9b967e Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Fri, 9 Dec 2016 17:39:57 +0100 Subject: [PATCH] Compile with gcc <= 4.8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Martin Gräßlin --- pointer_input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pointer_input.cpp b/pointer_input.cpp index b7de7262aa..e84cfd2990 100644 --- a/pointer_input.cpp +++ b/pointer_input.cpp @@ -574,7 +574,7 @@ void PointerInputRedirection::enablePointerConstraints() if (r.contains(m_pos.toPoint())) { cf->setConfined(true); m_confined = true; - m_confinedPointerRegionConnection = connect(cf, &KWayland::Server::ConfinedPointerInterface::regionChanged, this, + m_confinedPointerRegionConnection = connect(cf.data(), &KWayland::Server::ConfinedPointerInterface::regionChanged, this, [this] { if (!m_window) { return;