diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-03-27 08:06:46 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-03-27 08:09:46 +0200 |
commit | f4353daa61f480d7fac7c0f485d4c74e39f89897 (patch) | |
tree | 82d4732dc23841b759b764868e5273d19dbb11a3 /src/qt/guiutil.cpp | |
parent | 0a018431c447bbf18bdaa6a1037aad6a87c1294a (diff) | |
parent | 3a0f8d795a96bdab4fffad7fcb00f73c615cf817 (diff) |
Merge #12779: Qt: Remove unused method setupAmountWidget(...)
3a0f8d7 Qt: Remove unused method setupAmountWidget(...) (practicalswift)
Pull request description:
Remove unused method `setupAmountWidget(...)`.
Last use removed in f193c57a63d8e66835873ff05ef8028fa87b427f.
Tree-SHA512: 8f25ed2da13cfbc0f2e042286b3c979ef03de960028d7824110bdc2ed96f5075e3b35a9809a09c83caa5bad2237d2e048ff212b19a0be1d07f79c19691dfcd87
Diffstat (limited to 'src/qt/guiutil.cpp')
-rw-r--r-- | src/qt/guiutil.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp index 16ef27a36a..7b653a99da 100644 --- a/src/qt/guiutil.cpp +++ b/src/qt/guiutil.cpp @@ -137,15 +137,6 @@ void setupAddressWidget(QValidatedLineEdit *widget, QWidget *parent) widget->setCheckValidator(new BitcoinAddressCheckValidator(parent)); } -void setupAmountWidget(QLineEdit *widget, QWidget *parent) -{ - QDoubleValidator *amountValidator = new QDoubleValidator(parent); - amountValidator->setDecimals(8); - amountValidator->setBottom(0.0); - widget->setValidator(amountValidator); - widget->setAlignment(Qt::AlignRight|Qt::AlignVCenter); -} - bool parseBitcoinURI(const QUrl &uri, SendCoinsRecipient *out) { // return if URI is not valid or is no bitcoin: URI |