Re-enable threaded query for effects
KConfig should be thread safe in KF5.
This commit is contained in:
parent
cebb4b86b5
commit
cf6d6e0515
1 changed files with 0 additions and 1 deletions
|
@ -299,7 +299,6 @@ void EffectsHandlerImpl::reconfigure()
|
|||
QFutureWatcher<KService::List> *watcher = new QFutureWatcher<KService::List>(this);
|
||||
connect(watcher, SIGNAL(finished()), this, SLOT(slotEffectsQueried()));
|
||||
watcher->setFuture(QtConcurrent::run(KServiceTypeTrader::self(), &KServiceTypeTrader::query, QStringLiteral("KWin/Effect"), QString()));
|
||||
watcher->waitForFinished(); // TODO: remove once KConfigGroup is thread safe, bug #321576
|
||||
}
|
||||
|
||||
void EffectsHandlerImpl::slotEffectsQueried()
|
||||
|
|
Loading…
Reference in a new issue