Re-enable threaded query for effects

KConfig should be thread safe in KF5.
This commit is contained in:
Martin Gräßlin 2013-09-24 14:32:21 +02:00
parent cebb4b86b5
commit cf6d6e0515

View file

@ -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()