Showing the changes to interface/src/AvatarBookmarks.cpp (1 of 13 files). Show all
Unified · Split
| @@ -198,10 +198,7 @@ void AvatarBookmarks::updateAvatarEntities(const QVariantList &avatarEntities) { · 197 unmodified lines | ||
| 198 | 198 | if (propertiesItr != avatarEntityVariantMap.end()) { |
| 199 | 199 | EntityItemID id = idItr.value().toUuid(); |
| 200 | 200 | newAvatarEntities.insert(id); |
| 201 | − OVERTE_IGNORE_DEPRECATED_BEGIN | |
| 202 | − // We're not transitioning to CBOR yet, since it'd break the protocol. | |
| 203 | − myAvatar->updateAvatarEntity(id, QJsonDocument::fromVariant(propertiesItr.value()).toBinaryData()); | |
| 204 | − OVERTE_IGNORE_WARNING_END | |
| 201 | + myAvatar->updateAvatarEntity(id, QCborValue::fromVariant(propertiesItr.value()).toCbor()); | |
| 205 | 202 | } |
| 206 | 203 | } |
| 207 | 204 | } |