mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 07:29:33 -05:00
corrected compilation issue with Qt 4.5
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3610 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
16caca6a95
commit
55a4d4d1e1
@ -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.toReal() < v2.toReal();
|
||||
return v1.toFloat() < v2.toFloat();
|
||||
default:
|
||||
return (v1.toString().compare (v2.toString(), Qt::CaseInsensitive) < 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user