Compile with gcc <= 4.8

Reviewed-by: Martin Gräßlin
This commit is contained in:
Hrvoje Senjan 2016-12-09 17:39:57 +01:00
parent 0c5ca405cc
commit 02b9cf739f

View file

@ -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;