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:
parent
91273c8b03
commit
187933a7a6
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user