mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-15 10:49:32 -04:00
use case insensitive sorting in People
This commit is contained in:
parent
88c22c470b
commit
2d06aa3eb0
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue