don't query effects threaded
calls sycoca/kconfiggroup... BUG: 321576 FIXED-IN: 4.11 REVIEW: 111374
This commit is contained in:
parent
9f69a793e8
commit
3b285ba572
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue