From 2d06aa3eb05fd777ee8fc0ee784451675accb271 Mon Sep 17 00:00:00 2001 From: csoler Date: Sun, 6 Jan 2019 20:29:45 +0100 Subject: [PATCH] use case insensitive sorting in People --- retroshare-gui/src/gui/Identity/IdDialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/retroshare-gui/src/gui/Identity/IdDialog.cpp b/retroshare-gui/src/gui/Identity/IdDialog.cpp index 464a4fe10..2f22229d7 100644 --- a/retroshare-gui/src/gui/Identity/IdDialog.cpp +++ b/retroshare-gui/src/gui/Identity/IdDialog.cpp @@ -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(); } };