don't query effects threaded

calls sycoca/kconfiggroup...

BUG: 321576
FIXED-IN: 4.11
REVIEW: 111374
remotes/origin/Plasma/5.0
Thomas Lübking 13 years ago
parent 9f69a793e8
commit 3b285ba572
  1. 1
      effects.cpp

@ -305,6 +305,7 @@ 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, QString("KWin/Effect"), QString()));
watcher->waitForFinished(); // TODO: remove once KConfigGroup is thread safe, bug #321576
}
void EffectsHandlerImpl::slotEffectsQueried()

Loading…
Cancel
Save