From 35e784eb1a1b31e055662d92da584141ece03ff5 Mon Sep 17 00:00:00 2001 From: Ilia Ryabokon Date: Wed, 8 Aug 2012 14:34:26 +0300 Subject: [PATCH] Wait for thread set --- src/board/UBFeaturesController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/board/UBFeaturesController.cpp b/src/board/UBFeaturesController.cpp index e39f7786..e8ad51c4 100644 --- a/src/board/UBFeaturesController.cpp +++ b/src/board/UBFeaturesController.cpp @@ -176,7 +176,7 @@ UBFeaturesComputingThread::~UBFeaturesComputingThread() mWaitCondition.wakeOne(); mMutex.unlock(); - quit(); + wait(); } UBFeature::UBFeature(const QString &url, const QImage &icon, const QString &name, const QUrl &realPath, UBFeatureElementType type)