diff --git a/launchers/qt/src/UserSettingsRequest.cpp b/launchers/qt/src/UserSettingsRequest.cpp index 737d103784..10e01f82ab 100644 --- a/launchers/qt/src/UserSettingsRequest.cpp +++ b/launchers/qt/src/UserSettingsRequest.cpp @@ -57,7 +57,7 @@ void UserSettingsRequest::receivedResponse() { } if (root["data"].toObject().contains("home_location")) { - auto homeLocation = root["data"].toObject()["home_location"]; + QJsonValue homeLocation = root["data"].toObject()["home_location"]; if (homeLocation.isString()) { _userSettings.homeLocation = homeLocation.toString(); }