diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2018-07-30 12:37:09 +0200 |
---|---|---|
committer | Ben Woosley <ben.woosley@gmail.com> | 2019-01-13 03:25:14 -0800 |
commit | 9096276e0b2d5b7e19af9a5f3c144ef108ee55e0 (patch) | |
tree | d31596ad94235ed328012c191d6d5055f60bf31c /src/qt/bitcoinamountfield.h | |
parent | 84d0fdce11709c8e26b9c450d47727ab36641437 (diff) |
Don't use zero as null pointer constant (-Wzero-as-null-pointer-constant)
Qt-only changes.
Diffstat (limited to 'src/qt/bitcoinamountfield.h')
-rw-r--r-- | src/qt/bitcoinamountfield.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/bitcoinamountfield.h b/src/qt/bitcoinamountfield.h index 650481e30d..2db6b65f2c 100644 --- a/src/qt/bitcoinamountfield.h +++ b/src/qt/bitcoinamountfield.h @@ -26,9 +26,9 @@ class BitcoinAmountField: public QWidget Q_PROPERTY(qint64 value READ value WRITE setValue NOTIFY valueChanged USER true) public: - explicit BitcoinAmountField(QWidget *parent = 0); + explicit BitcoinAmountField(QWidget *parent = nullptr); - CAmount value(bool *value=0) const; + CAmount value(bool *value=nullptr) const; void setValue(const CAmount& value); /** If allow empty is set to false the field will be set to the minimum allowed value if left empty. **/ |