diff --git a/abstractrunner.cpp b/abstractrunner.cpp index 471749afe..a8ce0edf2 100644 --- a/abstractrunner.cpp +++ b/abstractrunner.cpp @@ -203,7 +203,7 @@ void AbstractRunner::clearActions() d->actions.clear(); } -QMimeData *AbstractRunner::mimeDataForMatch(const QueryMatch *match) +QMimeData *AbstractRunner::mimeDataForMatch(const QueryMatch &match) { Q_UNUSED(match) return 0; diff --git a/abstractrunner.h b/abstractrunner.h index e36497744..1c9ecdefa 100644 --- a/abstractrunner.h +++ b/abstractrunner.h @@ -471,7 +471,7 @@ class PLASMA_EXPORT AbstractRunner : public QObject * to support serialization and drag and drop * @since 4.5 */ - virtual QMimeData *mimeDataForMatch(const Plasma::QueryMatch *match); + virtual QMimeData *mimeDataForMatch(const Plasma::QueryMatch &match); private: friend class RunnerScript;