From 6b8943bddd59a980bb6c8c69594d9310c8d99eb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Fl=C3=B6ser?= Date: Mon, 16 Oct 2017 17:17:15 +0200 Subject: [PATCH] Fix new unused variable warning --- wayland_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wayland_server.cpp b/wayland_server.cpp index 78beb7795c..03e1d6ae22 100644 --- a/wayland_server.cpp +++ b/wayland_server.cpp @@ -161,7 +161,7 @@ void WaylandServer::createSurface(T *surface) } //not directly connected as the connection is tied to client instead of this - connect(m_XdgForeign, &KWayland::Server::XdgForeignInterface::transientChanged, client, [this](KWayland::Server::SurfaceInterface *child, KWayland::Server::SurfaceInterface *parent) { + connect(m_XdgForeign, &KWayland::Server::XdgForeignInterface::transientChanged, client, [this](KWayland::Server::SurfaceInterface *child) { emit foreignTransientChanged(child); }); }