Qt: Remove unused method setupAmountWidget(...)
This commit is contained in:
parent
7466a26cab
commit
3a0f8d795a
2 changed files with 1 additions and 11 deletions
|
@ -137,15 +137,6 @@ void setupAddressWidget(QValidatedLineEdit *widget, QWidget *parent)
|
||||||
widget->setCheckValidator(new BitcoinAddressCheckValidator(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)
|
bool parseBitcoinURI(const QUrl &uri, SendCoinsRecipient *out)
|
||||||
{
|
{
|
||||||
// return if URI is not valid or is no bitcoin: URI
|
// return if URI is not valid or is no bitcoin: URI
|
||||||
|
|
|
@ -40,9 +40,8 @@ namespace GUIUtil
|
||||||
// Return a monospace font
|
// Return a monospace font
|
||||||
QFont fixedPitchFont();
|
QFont fixedPitchFont();
|
||||||
|
|
||||||
// Set up widgets for address and amounts
|
// Set up widget for address
|
||||||
void setupAddressWidget(QValidatedLineEdit *widget, QWidget *parent);
|
void setupAddressWidget(QValidatedLineEdit *widget, QWidget *parent);
|
||||||
void setupAmountWidget(QLineEdit *widget, QWidget *parent);
|
|
||||||
|
|
||||||
// Parse "bitcoin:" URI into recipient object, return true on successful parsing
|
// Parse "bitcoin:" URI into recipient object, return true on successful parsing
|
||||||
bool parseBitcoinURI(const QUrl &uri, SendCoinsRecipient *out);
|
bool parseBitcoinURI(const QUrl &uri, SendCoinsRecipient *out);
|
||||||
|
|
Loading…
Reference in a new issue