diff --git a/src/json.h b/src/json.h index a524255ef..8c38ec40a 100644 --- a/src/json.h +++ b/src/json.h @@ -47,6 +47,7 @@ namespace json { case QVariant::LongLong: case QVariant::UInt: case QVariant::ULongLong: + case QMetaType::Float: return v.value(); case QVariant::String: {