aboutsummaryrefslogtreecommitdiff
path: root/src/qt/sendcoinsentry.cpp
diff options
context:
space:
mode:
authorBen Woosley <ben.woosley@gmail.com>2018-07-31 14:02:34 -0400
committerBen Woosley <ben.woosley@gmail.com>2019-01-13 03:25:14 -0800
commit3a0e76fc12b91b2846d756981e15f09b767a9c37 (patch)
tree73d30057afc14c8cf0f3e882d9f885336a970d86 /src/qt/sendcoinsentry.cpp
parent9096276e0b2d5b7e19af9a5f3c144ef108ee55e0 (diff)
Replace remaining 0 with nullptr in Qt code
Also used type-appropriate enum values such as Qt::NoItemFlags in some cases. All cases identified via -Wzero-as-null-pointer-constant
Diffstat (limited to 'src/qt/sendcoinsentry.cpp')
-rw-r--r--src/qt/sendcoinsentry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/sendcoinsentry.cpp b/src/qt/sendcoinsentry.cpp
index ab7a5aa956..7324d759fb 100644
--- a/src/qt/sendcoinsentry.cpp
+++ b/src/qt/sendcoinsentry.cpp
@@ -155,7 +155,7 @@ bool SendCoinsEntry::validate(interfaces::Node& node)
}
// Sending a zero amount is invalid
- if (ui->payAmount->value(0) <= 0)
+ if (ui->payAmount->value(nullptr) <= 0)
{
ui->payAmount->setValid(false);
retval = false;