Fix misc compiler warnings

This commit is contained in:
tobtoht
2021-05-10 15:20:33 +02:00
parent f948a71e73
commit b9995c44ec
42 changed files with 63 additions and 66 deletions
+1 -2
View File
@@ -145,7 +145,6 @@ void AppContext::onCreateTransaction(const QString &address, quint64 amount, con
return;
}
auto balance = this->currentWallet->balance();
auto unlocked_balance = this->currentWallet->unlockedBalance();
if(!all && amount > unlocked_balance) {
emit createTransactionError("Not enough money to spend");
@@ -549,7 +548,7 @@ void AppContext::donateBeg() {
config()->set(Config::donateBeg, donationCounter);
}
AppContext::~AppContext() {}
AppContext::~AppContext() = default;
// ############################################## LIBWALLET QT #########################################################