From 0fb0b0f61359150182150cb410f9352fa270c0c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petri=20Damst=C3=A9n?= Date: Sun, 24 Feb 2008 19:57:50 +0000 Subject: [PATCH] remove const to match AbstractRunner svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=778873 --- scripting/runnerscript.cpp | 3 ++- scripting/runnerscript.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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