mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-27 07:47:03 -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;
|
return v1 < v2;
|
||||||
}
|
}
|
||||||
else
|
else // case insensitive sorting
|
||||||
return data(column,Qt::DisplayRole).toString() < other.data(column,Qt::DisplayRole).toString();
|
return data(column,Qt::DisplayRole).toString().toUpper() < other.data(column,Qt::DisplayRole).toString().toUpper();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user