From 40b1f6f05398551039565551828b05cfa0b5649e Mon Sep 17 00:00:00 2001 From: csoler Date: Fri, 25 May 2012 19:29:09 +0000 Subject: [PATCH] fixed incompatibility with Qt < 4.6 git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5190 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/common/RSListWidgetItem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/common/RSListWidgetItem.cpp b/retroshare-gui/src/gui/common/RSListWidgetItem.cpp index 9dcac6f1f..5899c6977 100644 --- a/retroshare-gui/src/gui/common/RSListWidgetItem.cpp +++ b/retroshare-gui/src/gui/common/RSListWidgetItem.cpp @@ -69,7 +69,7 @@ bool RSListWidgetItem::operator<(const QListWidgetItem &other) const case 0: //integer type return v1.toLongLong() < v2.toLongLong(); case 1: //floating point - return v1.toReal() < v2.toReal(); + return v1.toDouble() < v2.toDouble(); } return (v1.toString().compare (v2.toString(), Qt::CaseInsensitive) < 0);