History

Round 2

Zach Fox committed 9 years ago

Commit 733df831 parent acdd1e312 files · +93 −44Browse files

Showing the changes to interface/src/scripting/WalletScriptingInterface.cpp (1 of 12 files). Show all

Unified · Split

interface/src/scripting/WalletScriptingInterface.cpp+5−0
@@ -18,6 +18,11 @@ CheckoutProxy::CheckoutProxy(QObject* qmlObject, QObject* parent) : QmlWrapper(q · 17 unmodified lines
1818 WalletScriptingInterface::WalletScriptingInterface() {
1919 }
2020
21+void WalletScriptingInterface::refreshWalletStatus() {
22+ auto wallet = DependencyManager::get<Wallet>();
23+ wallet->getWalletStatus();
24+}
25+
2126 static const QString CHECKOUT_QML_PATH = qApp->applicationDirPath() + "../../../qml/hifi/commerce/checkout/Checkout.qml";
2227 void WalletScriptingInterface::buy(const QString& name, const QString& id, const int& price, const QString& href) {
2328 if (QThread::currentThread() != thread()) {