Browse Source

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

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
4d00db2b42
  1. 1
      src/json.h

1
src/json.h

@ -47,6 +47,7 @@ namespace json { @@ -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:
{

Loading…
Cancel
Save