mirror of
https://github.com/lubosz/overte.git
synced 2025-04-08 04:42:20 +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")) {
|
||||
auto homeLocation = root["data"].toObject()["home_location"];
|
||||
QJsonValue homeLocation = root["data"].toObject()["home_location"];
|
||||
if (homeLocation.isString()) {
|
||||
_userSettings.homeLocation = homeLocation.toString();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue