diff --git a/scripting/workspace_wrapper.cpp b/scripting/workspace_wrapper.cpp index d10054d576..461e0546c4 100644 --- a/scripting/workspace_wrapper.cpp +++ b/scripting/workspace_wrapper.cpp @@ -335,11 +335,13 @@ QQmlListProperty DeclarativeScriptWorkspaceWrapper::clients() int DeclarativeScriptWorkspaceWrapper::countClientList(QQmlListProperty *clients) { + Q_UNUSED(clients) return Workspace::self()->clientList().size(); } KWin::Client *DeclarativeScriptWorkspaceWrapper::atClientList(QQmlListProperty *clients, int index) { + Q_UNUSED(clients) return Workspace::self()->clientList().at(index); }