Update QUrls

This commit is contained in:
Zach Fox 2017-11-15 09:21:10 -08:00
parent 23ff842bc6
commit 8f855c6c95

View file

@ -2234,27 +2234,27 @@ void Application::initializeUi() {
context->setContextProperty("Commerce", new QmlCommerce());
};
OffscreenQmlSurface::addWhitelistContextHandler({
QUrl{ "qrc:///qml/hifi/commerce/checkout/Checkout.qml" },
QUrl{ "qrc:///qml/hifi/commerce/common/CommerceLightbox.qml" },
QUrl{ "qrc:///qml/hifi/commerce/common/EmulatedMarketplaceHeader.qml" },
QUrl{ "qrc:///qml/hifi/commerce/common/FirstUseTutorial.qml" },
QUrl{ "qrc:///qml/hifi/commerce/common/SortableListModel.qml" },
QUrl{ "qrc:///qml/hifi/commerce/inspectionCertificate/InspectionCertificate.qml" },
QUrl{ "qrc:///qml/hifi/commerce/purchases/PurchasedItem.qml" },
QUrl{ "qrc:///qml/hifi/commerce/purchases/Purchases.qml" },
QUrl{ "qrc:///qml/hifi/commerce/wallet/Help.qml" },
QUrl{ "qrc:///qml/hifi/commerce/wallet/NeedsLogIn.qml" },
QUrl{ "qrc:///qml/hifi/commerce/wallet/PassphraseChange.qml" },
QUrl{ "qrc:///qml/hifi/commerce/wallet/PassphraseModal.qml" },
QUrl{ "qrc:///qml/hifi/commerce/wallet/PassphraseSelection.qml" },
QUrl{ "qrc:///qml/hifi/commerce/wallet/Security.qml" },
QUrl{ "qrc:///qml/hifi/commerce/wallet/SecurityImageChange.qml" },
QUrl{ "qrc:///qml/hifi/commerce/wallet/SecurityImageModel.qml" },
QUrl{ "qrc:///qml/hifi/commerce/wallet/SecurityImageSelection.qml" },
QUrl{ "qrc:///qml/hifi/commerce/wallet/SendMoney.qml" },
QUrl{ "qrc:///qml/hifi/commerce/wallet/Wallet.qml" },
QUrl{ "qrc:///qml/hifi/commerce/wallet/WalletHome.qml" },
QUrl{ "qrc:///qml/hifi/commerce/wallet/WalletSetup.qml" },
QUrl{ "hifi/commerce/checkout/Checkout.qml" },
QUrl{ "hifi/commerce/common/CommerceLightbox.qml" },
QUrl{ "hifi/commerce/common/EmulatedMarketplaceHeader.qml" },
QUrl{ "hifi/commerce/common/FirstUseTutorial.qml" },
QUrl{ "hifi/commerce/common/SortableListModel.qml" },
QUrl{ "hifi/commerce/inspectionCertificate/InspectionCertificate.qml" },
QUrl{ "hifi/commerce/purchases/PurchasedItem.qml" },
QUrl{ "hifi/commerce/purchases/Purchases.qml" },
QUrl{ "hifi/commerce/wallet/Help.qml" },
QUrl{ "hifi/commerce/wallet/NeedsLogIn.qml" },
QUrl{ "hifi/commerce/wallet/PassphraseChange.qml" },
QUrl{ "hifi/commerce/wallet/PassphraseModal.qml" },
QUrl{ "hifi/commerce/wallet/PassphraseSelection.qml" },
QUrl{ "hifi/commerce/wallet/Security.qml" },
QUrl{ "hifi/commerce/wallet/SecurityImageChange.qml" },
QUrl{ "hifi/commerce/wallet/SecurityImageModel.qml" },
QUrl{ "hifi/commerce/wallet/SecurityImageSelection.qml" },
QUrl{ "hifi/commerce/wallet/SendMoney.qml" },
QUrl{ "hifi/commerce/wallet/Wallet.qml" },
QUrl{ "hifi/commerce/wallet/WalletHome.qml" },
QUrl{ "hifi/commerce/wallet/WalletSetup.qml" },
}, callback);
qmlRegisterType<ResourceImageItem>("Hifi", 1, 0, "ResourceImageItem");
qmlRegisterType<Preference>("Hifi", 1, 0, "Preference");