mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-26 15:28:28 -05:00
use case insensitive sorting in People
This commit is contained in:
parent
88c22c470b
commit
2d06aa3eb0
@ -133,8 +133,8 @@ class TreeWidgetItem : public QTreeWidgetItem
|
||||
|
||||
return v1 < v2;
|
||||
}
|
||||
else
|
||||
return data(column,Qt::DisplayRole).toString() < other.data(column,Qt::DisplayRole).toString();
|
||||
else // case insensitive sorting
|
||||
return data(column,Qt::DisplayRole).toString().toUpper() < other.data(column,Qt::DisplayRole).toString().toUpper();
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user