[scripting] Silence unused variable warnings

CCMAIL: github@chilon.net
This commit is contained in:
Martin Gräßlin 2016-11-03 08:17:11 +01:00
parent be9ee989b1
commit 6c121436e2

View file

@ -335,11 +335,13 @@ QQmlListProperty<KWin::Client> DeclarativeScriptWorkspaceWrapper::clients()
int DeclarativeScriptWorkspaceWrapper::countClientList(QQmlListProperty<KWin::Client> *clients)
{
Q_UNUSED(clients)
return Workspace::self()->clientList().size();
}
KWin::Client *DeclarativeScriptWorkspaceWrapper::atClientList(QQmlListProperty<KWin::Client> *clients, int index)
{
Q_UNUSED(clients)
return Workspace::self()->clientList().at(index);
}