diff --git a/interface/resources/qml/hifi/NameCard.qml b/interface/resources/qml/hifi/NameCard.qml index 9f73d1090e..d43cf90386 100644 --- a/interface/resources/qml/hifi/NameCard.qml +++ b/interface/resources/qml/hifi/NameCard.qml @@ -27,7 +27,7 @@ Item { // Properties property string profileUrl: ""; - property string defaultBaseUrl: location.metaverseServerUrl; + property string defaultBaseUrl: AddressManager.metaverseServerUrl; property string connectionStatus : "" property string uuid: "" property string displayName: "" diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 9c86c4b8c6..1bb4c64884 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -2011,7 +2011,6 @@ void Application::initializeUi() { rootContext->setContextProperty("Scene", DependencyManager::get().data()); rootContext->setContextProperty("Render", _renderEngine->getConfiguration().get()); rootContext->setContextProperty("Reticle", getApplicationCompositor().getReticleInterface()); - rootContext->setContextProperty("location", DependencyManager::get().data()); rootContext->setContextProperty("ApplicationCompositor", &getApplicationCompositor());