aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/converters.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/converters.h b/lib/converters.h
index 8ec0fa81..f6d56527 100644
--- a/lib/converters.h
+++ b/lib/converters.h
@@ -62,6 +62,8 @@ inline T fromJson(const QJsonValue& jv)
return JsonConverter<T>::load(jv);
}
+inline QJsonValue fromJson(const QJsonValue& jv) { return jv; }
+
template <typename T>
inline T fromJson(const QJsonDocument& jd)
{