From ac4346125d3cb1ca6d752a0d1c5bf7c0dc57c80a Mon Sep 17 00:00:00 2001 From: dante ruiz Date: Wed, 9 Oct 2019 16:39:31 -0700 Subject: [PATCH] fix home location problem --- launchers/qt/src/UserSettingsRequest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }