1
0
mirror of https://invent.kde.org/system/dolphin synced 2024-06-30 23:46:46 +00:00

Fixed crash on text/text sorting/grouping. Missed a collatorLock :/

This commit is contained in:
Zakhar Afonin 2024-06-17 00:42:46 +03:00
parent 91273c8b03
commit 187933a7a6

View File

@ -2441,6 +2441,8 @@ KFileItemModel::ItemGroupInfo KFileItemModel::nameRoleGroup(const ItemData *item
const QString name = itemData->item.text();
QMutexLocker collatorLock(s_collatorMutex());
// Use the first character of the name as group indication
firstChar = name.at(0).toUpper();