mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
- Encode correctly Float Type using QVariant/JSON (introduced in Qt 4.6)
This commit is contained in:
@@ -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:
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user