diff --git a/scripting/runnerscript.cpp b/scripting/runnerscript.cpp index 1d71b632f..d52909130 100644 --- a/scripting/runnerscript.cpp +++ b/scripting/runnerscript.cpp @@ -51,13 +51,14 @@ AbstractRunner* RunnerScript::runner() const return d->runner; } -void RunnerScript::match(const Plasma::SearchContext *search) +void RunnerScript::match(Plasma::SearchContext *search) { Q_UNUSED(search) } void RunnerScript::exec(const Plasma::SearchContext *search, const Plasma::SearchMatch *action) { + Q_UNUSED(search) Q_UNUSED(action) } diff --git a/scripting/runnerscript.h b/scripting/runnerscript.h index 98cfa60e3..11fd9cedb 100644 --- a/scripting/runnerscript.h +++ b/scripting/runnerscript.h @@ -60,7 +60,7 @@ public: * SearchContext::addInformationalMatch, SearchContext::addExactMatch, and * SearchContext::addPossibleMatch. */ - virtual void match(const Plasma::SearchContext *search); + virtual void match(Plasma::SearchContext *search); /** * Called whenever an exact or possible match associated with this