From 3b285ba572db102028054e9ae6c9e085a9116809 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Tue, 2 Jul 2013 23:06:06 +0200 Subject: [PATCH] don't query effects threaded calls sycoca/kconfiggroup... BUG: 321576 FIXED-IN: 4.11 REVIEW: 111374 --- effects.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/effects.cpp b/effects.cpp index 11781d6751..da48338ecb 100644 --- a/effects.cpp +++ b/effects.cpp @@ -305,6 +305,7 @@ void EffectsHandlerImpl::reconfigure() QFutureWatcher *watcher = new QFutureWatcher(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()