diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2018-03-25 21:15:08 +0200 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2018-03-25 21:15:08 +0200 |
commit | 3a0f8d795a96bdab4fffad7fcb00f73c615cf817 (patch) | |
tree | d0e596eed9d06a5762f876b44c81871c250018cf /src/qt/guiutil.cpp | |
parent | 7466a26cab5d66665991433947964a638f5b957e (diff) |
Qt: Remove unused method setupAmountWidget(...)
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 |