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();
|
d->actions.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
QMimeData *AbstractRunner::mimeDataForMatch(const QueryMatch *match)
|
QMimeData *AbstractRunner::mimeDataForMatch(const QueryMatch &match)
|
||||||
{
|
{
|
||||||
Q_UNUSED(match)
|
Q_UNUSED(match)
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -471,7 +471,7 @@ class PLASMA_EXPORT AbstractRunner : public QObject
|
|||||||
* to support serialization and drag and drop
|
* to support serialization and drag and drop
|
||||||
* @since 4.5
|
* @since 4.5
|
||||||
*/
|
*/
|
||||||
virtual QMimeData *mimeDataForMatch(const Plasma::QueryMatch *match);
|
virtual QMimeData *mimeDataForMatch(const Plasma::QueryMatch &match);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
friend class RunnerScript;
|
friend class RunnerScript;
|
||||||
|
Loading…
Reference in New Issue
Block a user