mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-12 11:02:30 -04:00
fixed incompatibility with Qt < 4.6
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5190 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
bd67b1fe90
commit
40b1f6f053
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue