pass by reference instead of a pointer
This commit is contained in:
parent
48fa4d1db7
commit
983bacb8b7
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user