From e4d21f3de7728209d4c69b52de2adfb1affa0031 Mon Sep 17 00:00:00 2001 From: lateminer Date: Sun, 30 Sep 2018 19:06:20 +0300 Subject: [PATCH] Comment checkSubtractFeeFromAmount() --- src/qt/sendcoinsdialog.cpp | 2 +- src/qt/sendcoinsentry.cpp | 2 ++ src/qt/sendcoinsentry.h | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp index d04a29d5b..4a4ffb2b9 100644 --- a/src/qt/sendcoinsdialog.cpp +++ b/src/qt/sendcoinsdialog.cpp @@ -585,7 +585,7 @@ void SendCoinsDialog::useAvailableBalance(SendCoinsEntry* entry) } if (amount > 0) { - entry->checkSubtractFeeFromAmount(); + // entry->checkSubtractFeeFromAmount(); entry->setAmount(amount); } else { entry->setAmount(0); diff --git a/src/qt/sendcoinsentry.cpp b/src/qt/sendcoinsentry.cpp index 7003b6435..8c037b5f2 100644 --- a/src/qt/sendcoinsentry.cpp +++ b/src/qt/sendcoinsentry.cpp @@ -119,10 +119,12 @@ void SendCoinsEntry::clear() updateDisplayUnit(); } +/* void SendCoinsEntry::checkSubtractFeeFromAmount() { ui->checkboxSubtractFeeFromAmount->setChecked(true); } +*/ void SendCoinsEntry::deleteClicked() { diff --git a/src/qt/sendcoinsentry.h b/src/qt/sendcoinsentry.h index 557fea4e5..77e08e86d 100644 --- a/src/qt/sendcoinsentry.h +++ b/src/qt/sendcoinsentry.h @@ -49,7 +49,7 @@ public: public Q_SLOTS: void clear(); - void checkSubtractFeeFromAmount(); + // void checkSubtractFeeFromAmount(); Q_SIGNALS: void removeEntry(SendCoinsEntry *entry);