mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 23:36:41 +02:00
Fix long line
This commit is contained in:
parent
a9e352981a
commit
aa08577c73
1 changed files with 3 additions and 1 deletions
|
@ -181,7 +181,9 @@ void UserLocationsModel::handleLocationsResponse(const QJsonObject& responseData
|
||||||
QJsonObject location = (*it).toObject();
|
QJsonObject location = (*it).toObject();
|
||||||
QJsonObject address = location["address"].toObject();
|
QJsonObject address = location["address"].toObject();
|
||||||
UserLocation* userLocation = new UserLocation(location["id"].toString(), location["name"].toString(),
|
UserLocation* userLocation = new UserLocation(location["id"].toString(), location["name"].toString(),
|
||||||
"hifi://" + address["domain"].toString() + "/" + address["position"].toString() + "/" + address["orientation"].toString());
|
"hifi://" + address["domain"].toString()
|
||||||
|
+ "/" + address["position"].toString()
|
||||||
|
+ "/" + address["orientation"].toString());
|
||||||
_locations.append(userLocation);
|
_locations.append(userLocation);
|
||||||
connect(userLocation, &UserLocation::deleted, this, &UserLocationsModel::removeLocation);
|
connect(userLocation, &UserLocation::deleted, this, &UserLocationsModel::removeLocation);
|
||||||
connect(userLocation, &UserLocation::updated, this, &UserLocationsModel::update);
|
connect(userLocation, &UserLocation::updated, this, &UserLocationsModel::update);
|
||||||
|
|
Loading…
Reference in a new issue