plasma: mark Plasma::AbstractRunner::hasRunOptions() as const

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-08-31 00:53:32 +03:00
parent f92c0651ba
commit f8f34a1825
2 changed files with 2 additions and 2 deletions

View file

@ -190,7 +190,7 @@ QMimeData * AbstractRunner::mimeDataForMatch(const QueryMatch *match)
return 0;
}
bool AbstractRunner::hasRunOptions()
bool AbstractRunner::hasRunOptions() const
{
return d->hasRunOptions;
}

View file

@ -149,7 +149,7 @@ class PLASMA_EXPORT AbstractRunner : public QObject
* what happens when run or one of the actions created in match
* is called, the runner should return true
*/
bool hasRunOptions();
bool hasRunOptions() const;
/**
* If hasRunOptions() returns true, this method may be called to get