diff --git a/retroshare-gui/src/gui/common/RSTreeWidgetItem.cpp b/retroshare-gui/src/gui/common/RSTreeWidgetItem.cpp index 7ec03f631..8a9d9664b 100644 --- a/retroshare-gui/src/gui/common/RSTreeWidgetItem.cpp +++ b/retroshare-gui/src/gui/common/RSTreeWidgetItem.cpp @@ -119,7 +119,7 @@ bool RSTreeWidgetItem::operator<(const QTreeWidgetItem &other) const case 0: //integer type return v1.toLongLong() < v2.toLongLong(); case 1: //floating point - return v1.toFloat() < v2.toFloat(); + return v1.toDouble() < v2.toDouble(); default: return (v1.toString().compare (v2.toString(), Qt::CaseInsensitive) < 0); }