we need a non-const object to lock, may as well make it a pointer as well since that's the common usage
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=776952
This commit is contained in:
parent
2e07ca5f64
commit
b6767e1e39
@ -194,9 +194,9 @@ KService::List AbstractRunner::serviceQuery(const QString &serviceType, const QS
|
||||
return KServiceTypeTrader::self()->query(serviceType, constraint);
|
||||
}
|
||||
|
||||
const QMutex& AbstractRunner::bigLock() const
|
||||
QMutex* AbstractRunner::bigLock() const
|
||||
{
|
||||
return Private::bigLock;
|
||||
return &Private::bigLock;
|
||||
}
|
||||
|
||||
void AbstractRunner::exec(const Plasma::SearchContext *search, const Plasma::SearchMatch *action)
|
||||
|
@ -215,7 +215,7 @@ class PLASMA_EXPORT AbstractRunner : public QObject
|
||||
KService::List serviceQuery(const QString &serviceType,
|
||||
const QString &constraint = QString()) const;
|
||||
|
||||
const QMutex& bigLock() const;
|
||||
QMutex* bigLock() const;
|
||||
|
||||
protected slots:
|
||||
void init();
|
||||
|
Loading…
x
Reference in New Issue
Block a user