mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 03:19:33 +02:00
fix home location problem
This commit is contained in:
parent
80f0293881
commit
ac4346125d
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ void UserSettingsRequest::receivedResponse() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (root["data"].toObject().contains("home_location")) {
|
if (root["data"].toObject().contains("home_location")) {
|
||||||
auto homeLocation = root["data"].toObject()["home_location"];
|
QJsonValue homeLocation = root["data"].toObject()["home_location"];
|
||||||
if (homeLocation.isString()) {
|
if (homeLocation.isString()) {
|
||||||
_userSettings.homeLocation = homeLocation.toString();
|
_userSettings.homeLocation = homeLocation.toString();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue