Re-enable threaded query for effects

KConfig should be thread safe in KF5.
icc-effect-5.14.5
Martin Gräßlin 2013-09-24 14:32:21 +02:00
parent cebb4b86b5
commit cf6d6e0515
1 changed files with 0 additions and 1 deletions

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