refactor: misc cleanup

This commit is contained in:
tobtoht
2023-03-29 11:00:41 +02:00
parent 37153356ee
commit 32fa222c8d
7 changed files with 17 additions and 34 deletions
+5 -1
View File
@@ -67,8 +67,11 @@ SendWidget::SendWidget(Wallet *wallet, QWidget *parent)
}
void SendWidget::currencyComboChanged(int index) {
Q_UNUSED(index)
QString amount = ui->lineAmount->text();
if(amount.isEmpty()) return;
if (amount.isEmpty()) {
return;
}
this->amountEdited(amount);
}
@@ -91,6 +94,7 @@ void SendWidget::addressEdited() {
}
void SendWidget::amountEdited(const QString &text) {
Q_UNUSED(text)
this->updateConversionLabel();
}