mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 17:23:07 -07:00
- Encode correctly Float Type using QVariant/JSON (introduced in Qt 4.6)
This commit is contained in:
parent
db564b4521
commit
4d00db2b42
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ namespace json {
|
||||||
case QVariant::LongLong:
|
case QVariant::LongLong:
|
||||||
case QVariant::UInt:
|
case QVariant::UInt:
|
||||||
case QVariant::ULongLong:
|
case QVariant::ULongLong:
|
||||||
|
case QMetaType::Float:
|
||||||
return v.value<QString>();
|
return v.value<QString>();
|
||||||
case QVariant::String:
|
case QVariant::String:
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue