diff options
author | Dominik Holland <dominik.holland@pelagicore.com> | 2018-12-04 10:54:34 +0100 |
---|---|---|
committer | Robert Griebl <robert.griebl@pelagicore.com> | 2018-12-04 13:14:33 +0000 |
commit | 3781b74db1a490535261e45870b9a4c7215c940e (patch) | |
tree | 78d9b023cf195121a5eb39b1bd1a9fa6a518fc34 /src/tools/ivigenerator/templates_frontend | |
parent | 8a89aca04ce8c044725b086cf74183fc8d07e002 (diff) |
Rename and document the qtivi_convertFromJSON method
Change-Id: I77530cc0cc66589a923c7dae44f9ffc734ac222b
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
Diffstat (limited to 'src/tools/ivigenerator/templates_frontend')
-rw-r--r-- | src/tools/ivigenerator/templates_frontend/struct.cpp.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/ivigenerator/templates_frontend/struct.cpp.tpl b/src/tools/ivigenerator/templates_frontend/struct.cpp.tpl index 488f1a9..7670f36 100644 --- a/src/tools/ivigenerator/templates_frontend/struct.cpp.tpl +++ b/src/tools/ivigenerator/templates_frontend/struct.cpp.tpl @@ -110,7 +110,7 @@ public: {{class}}::{{class}}(const QVariant &variant) : {{class}}() { - QVariant value = convertFromJSON(variant); + QVariant value = qtivi_convertFromJSON(variant); // First try to convert the values to a Map or a List // This is needed as it could also store a QStringList or a Hash if (value.canConvert(QVariant::Map)) |