[server] Hide unused variable warning in PlasmaWindowManagementInterface::Private::getWindowCallback

This commit is contained in:
Martin Gräßlin 2016-06-29 11:26:29 +02:00
parent 4a3bdbbd7b
commit bd7d7c1936

View file

@ -166,6 +166,7 @@ void PlasmaWindowManagementInterface::Private::showDesktopCallback(wl_client *cl
void PlasmaWindowManagementInterface::Private::getWindowCallback(wl_client *client, wl_resource *resource, uint32_t id, uint32_t internalWindowId)
{
Q_UNUSED(client)
auto p = reinterpret_cast<Private*>(wl_resource_get_user_data(resource));
auto it = std::find_if(p->windows.constBegin(), p->windows.constEnd(),
[internalWindowId] (PlasmaWindowInterface *window) {