Fix unused variable warning

This commit is contained in:
Martin Gräßlin 2015-06-20 00:12:22 +02:00
parent 39c35f8f48
commit 69d78fe8db

View file

@ -245,6 +245,7 @@ void WaylandServer::announceClientToWindowManagement(AbstractClient *c)
connect(c, &AbstractClient::minimizedChanged, w, [w, c] { w->setMinimized(c->isMinimized()); });
connect(c, static_cast<void (AbstractClient::*)(AbstractClient*,MaximizeMode)>(&AbstractClient::clientMaximizedStateChanged), w,
[w] (KWin::AbstractClient *c, MaximizeMode mode) {
Q_UNUSED(c);
w->setMaximized(mode == KWin::MaximizeFull);
}
);