pass by reference instead of a pointer

This commit is contained in:
Aaron Seigo 2011-05-20 09:01:12 +02:00
parent 48fa4d1db7
commit 983bacb8b7
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;