1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-09 06:17:58 +00:00

- Encode correctly Float Type using QVariant/JSON (introduced in Qt 4.6)

This commit is contained in:
Christophe Dumez 2009-12-29 22:53:00 +00:00
parent db564b4521
commit 4d00db2b42

View File

@ -47,6 +47,7 @@ namespace json {
case QVariant::LongLong:
case QVariant::UInt:
case QVariant::ULongLong:
case QMetaType::Float:
return v.value<QString>();
case QVariant::String:
{