aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/versions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/versions.cpp')
-rw-r--r--lib/csapi/versions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csapi/versions.cpp b/lib/csapi/versions.cpp
index 128902e2..c853ec06 100644
--- a/lib/csapi/versions.cpp
+++ b/lib/csapi/versions.cpp
@@ -43,7 +43,7 @@ const QStringList& GetVersionsJob::versions() const
BaseJob::Status GetVersionsJob::parseJson(const QJsonDocument& data)
{
auto json = data.object();
- d->versions = fromJson<QStringList>(json.value("versions"_ls));
+ fromJson(json.value("versions"_ls), d->versions);
return Success;
}