From: Tasuku Suzuki Date: Wed, 12 Jun 2013 14:51:10 +0000 (+0900) Subject: Fix dead lock when showDotAndDotDot is set to FolderListModel X-Git-Tag: upstream/5.2.1~784 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ef5e8d5b6e67d129687034eb4a582dc0462b2971;p=platform%2Fupstream%2Fqtdeclarative.git Fix dead lock when showDotAndDotDot is set to FolderListModel Task-number: QTBUG-31687 Change-Id: Iaec798018f54f80c67fe5a06defee73ab7b79605 Reviewed-by: J-P Nurmi Reviewed-by: Alan Alpert --- diff --git a/src/imports/folderlistmodel/fileinfothread.cpp b/src/imports/folderlistmodel/fileinfothread.cpp index 0f984be..ad09f54 100644 --- a/src/imports/folderlistmodel/fileinfothread.cpp +++ b/src/imports/folderlistmodel/fileinfothread.cpp @@ -163,6 +163,7 @@ void FileInfoThread::setShowDotAndDotDot(bool on) QMutexLocker locker(&mutex); showDotAndDotDot = on; folderUpdate = true; + needUpdate = true; condition.wakeAll(); }