Commit f38e71d7 authored by Volker Krause's avatar Volker Krause

Adapt to KItinerary changes

parent 00bb17d6
......@@ -63,7 +63,7 @@ static QJsonValue variantToJson(const QVariant &v)
}
if (QMetaType::metaObjectForType(v.userType())) {
return KItinerary::JsonLdDocument::toJson({v}).at(0);
return KItinerary::JsonLdDocument::toJson(v);
} else if (v.userType() == qMetaTypeId<QVector<QVariant>>()) {
return KItinerary::JsonLdDocument::toJson(v.value<QVector<QVariant>>());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment