mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
remove unused parameter in AccountScriptingInterface::updateBalance
This commit is contained in:
parent
8b5e3486a3
commit
9824072300
2 changed files with 4 additions and 3 deletions
|
@ -15,8 +15,9 @@
|
|||
|
||||
AccountScriptingInterface::AccountScriptingInterface() {
|
||||
AccountManager& accountManager = AccountManager::getInstance();
|
||||
connect(&accountManager, &AccountManager::balanceChanged, this,
|
||||
bool succ = connect(&accountManager, &AccountManager::balanceChanged, this,
|
||||
&AccountScriptingInterface::updateBalance);
|
||||
|
||||
}
|
||||
|
||||
AccountScriptingInterface* AccountScriptingInterface::getInstance() {
|
||||
|
@ -34,7 +35,7 @@ bool AccountScriptingInterface::isLoggedIn() {
|
|||
return accountManager.isLoggedIn();
|
||||
}
|
||||
|
||||
void AccountScriptingInterface::updateBalance(qint64 newBalance) {
|
||||
void AccountScriptingInterface::updateBalance() {
|
||||
AccountManager& accountManager = AccountManager::getInstance();
|
||||
emit balanceChanged(accountManager.getAccountInfo().getBalanceInSatoshis());
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ public slots:
|
|||
static AccountScriptingInterface* getInstance();
|
||||
float getBalance();
|
||||
bool isLoggedIn();
|
||||
void updateBalance(qint64 newBalance);
|
||||
void updateBalance();
|
||||
};
|
||||
|
||||
#endif // hifi_AccountScriptingInterface_h
|
||||
|
|
Loading…
Reference in a new issue