diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/gpslocation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/gpslocation.cpp b/core/gpslocation.cpp index 95b2bebbc..affe62c3b 100644 --- a/core/gpslocation.cpp +++ b/core/gpslocation.cpp @@ -592,7 +592,7 @@ void GpsLocation::downloadFromServer() timer.stop(); if (!reply->error()) { QString response = reply->readAll(); - QJsonDocument json = QJsonDocument::fromJson(response.toLocal8Bit()); + QJsonDocument json = QJsonDocument::fromJson(response.toUtf8()); QJsonObject object = json.object(); if (object.value("download").toString() != "ok") { qDebug() << "problems downloading GPS fixes"; |