aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/folderlistmodel/fileinfothread.cpp
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@qt.io>2018-10-11 14:47:54 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2018-10-19 12:03:39 +0000
commit4d8cdc7d69594602246807097b92f72b42f4f6e9 (patch)
treee7dcac903bf1ab1627dc1ad43552a6b1bf1ca58f /src/imports/folderlistmodel/fileinfothread.cpp
parenta9559a8b84ec221550512fd7ff50f6fc5a569c59 (diff)
Add sortCaseSensitive property so the sorting can ignore the case
Change-Id: Id308272cc59eca8c95f1386db8cd64f266124579 Fixes: QTBUG-48757 Fixes: QTBUG-70212 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/imports/folderlistmodel/fileinfothread.cpp')
-rw-r--r--src/imports/folderlistmodel/fileinfothread.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imports/folderlistmodel/fileinfothread.cpp b/src/imports/folderlistmodel/fileinfothread.cpp
index 5b44ed012f..a006f659c9 100644
--- a/src/imports/folderlistmodel/fileinfothread.cpp
+++ b/src/imports/folderlistmodel/fileinfothread.cpp
@@ -135,6 +135,7 @@ void FileInfoThread::setSortFlags(QDir::SortFlags flags)
QMutexLocker locker(&mutex);
sortFlags = flags;
sortUpdate = true;
+ needUpdate = true;
condition.wakeAll();
}