Showing the changes to interface/src/scripting/WalletScriptingInterface.cpp (1 of 2 files). Show all
Unified · Split
| @@ -16,7 +16,6 @@ CheckoutProxy::CheckoutProxy(QObject* qmlObject, QObject* parent) : QmlWrapper(q · 15 unmodified lines | ||
| 16 | 16 | } |
| 17 | 17 | |
| 18 | 18 | WalletScriptingInterface::WalletScriptingInterface() { |
| 19 | − _contextOverlayInterface = DependencyManager::get<ContextOverlayInterface>(); | |
| 20 | 19 | |
| 21 | 20 | _entityPropertyFlags += PROP_POSITION; |
| 22 | 21 | _entityPropertyFlags += PROP_ROTATION; |
| @@ -43,9 +42,9 @@ void WalletScriptingInterface::proveAvatarEntityOwnershipVerification(const QUui · 20 unmodified lines | ||
| 43 | 42 | if (!entityID.isNull() && entityProperties.getMarketplaceID().length() > 0) { |
| 44 | 43 | if (!entityProperties.getClientOnly()) { |
| 45 | 44 | qCDebug(entities) << "Failed to prove ownership of:" << entityID << "is not an avatar entity"; |
| 46 | − emit _contextOverlayInterface->ownershipVerificationFailed(entityID); | |
| 45 | + emit DependencyManager::get<ContextOverlayInterface>()->ownershipVerificationFailed(entityID); | |
| 47 | 46 | return; |
| 48 | 47 | } |
| 49 | − _contextOverlayInterface->requestOwnershipVerification(entityID); | |
| 48 | + DependencyManager::get<ContextOverlayInterface>()->requestOwnershipVerification(entityID); | |
| 50 | 49 | } |
| 51 | 50 | } |