From 6b949f7ab33985b768f8871e9339282e9290bc36 Mon Sep 17 00:00:00 2001 From: William Lohan Date: Fri, 6 Jan 2023 10:43:59 -0800 Subject: [PATCH] Remove commerce options from wearables ui Remove Inventory & Marketplace option from Wearables GUI #275 --- .../qml/hifi/avatarapp/AdjustWearables.qml | 16 ---------------- .../qml/hifi/avatarapp/MessageBoxes.qml | 18 ------------------ 2 files changed, 34 deletions(-) diff --git a/interface/resources/qml/hifi/avatarapp/AdjustWearables.qml b/interface/resources/qml/hifi/avatarapp/AdjustWearables.qml index dfee6e60f7..6000a20afc 100644 --- a/interface/resources/qml/hifi/avatarapp/AdjustWearables.qml +++ b/interface/resources/qml/hifi/avatarapp/AdjustWearables.qml @@ -235,22 +235,6 @@ Rectangle { Layout.alignment: Qt.AlignVCenter } - spacing: 10 - - RalewayBold { - size: 15; - lineHeightMode: Text.FixedHeight - lineHeight: 18; - text: "Get more" - linkColor: hifi.colors.blueHighlight - Layout.alignment: Qt.AlignVCenter - onLinkActivated: { - popup.showGetWearables(null, function(link) { - emitSendToScript({'method' : 'navigate', 'url' : link}) - }); - } - } - Rectangle { Layout.fillWidth: true Layout.fillHeight: true diff --git a/interface/resources/qml/hifi/avatarapp/MessageBoxes.qml b/interface/resources/qml/hifi/avatarapp/MessageBoxes.qml index 6bcabf8a64..68df6d68f5 100644 --- a/interface/resources/qml/hifi/avatarapp/MessageBoxes.qml +++ b/interface/resources/qml/hifi/avatarapp/MessageBoxes.qml @@ -56,24 +56,6 @@ MessageBox { popup.inputText.forceActiveFocus(); } - function showGetWearables(callback, linkCallback) { - popup.dialogButtons.yesButton.visible = false; - popup.button1text = 'CANCEL' - popup.titleText = 'Get Wearables' - popup.bodyText = 'Get wearables from Marketplace.' + '
' + - 'Wear wearable from Inventory.' - - popup.onLinkClicked = function(link) { - popup.close(); - - if (linkCallback) { - linkCallback(link); - } - } - - popup.open(); - } - function showDeleteFavorite(favoriteName, callback) { popup.titleText = 'Delete Favorite: {AvatarName}'.replace('{AvatarName}', favoriteName) popup.bodyText = 'This will delete your favorite. You will retain access to the wearables and avatar that made up the favorite from Inventory.'