diff options
| author | Ben Woosley <[email protected]> | 2018-07-31 14:02:34 -0400 |
|---|---|---|
| committer | Ben Woosley <[email protected]> | 2019-01-13 03:25:14 -0800 |
| commit | 3a0e76fc12b91b2846d756981e15f09b767a9c37 (patch) | |
| tree | 73d30057afc14c8cf0f3e882d9f885336a970d86 /src/qt/paymentserver.cpp | |
| parent | Don't use zero as null pointer constant (-Wzero-as-null-pointer-constant) (diff) | |
| download | discoin-3a0e76fc12b91b2846d756981e15f09b767a9c37.tar.xz discoin-3a0e76fc12b91b2846d756981e15f09b767a9c37.zip | |
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/paymentserver.cpp')
| -rw-r--r-- | src/qt/paymentserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/paymentserver.cpp b/src/qt/paymentserver.cpp index cfd54c330..b1ec90ad3 100644 --- a/src/qt/paymentserver.cpp +++ b/src/qt/paymentserver.cpp @@ -223,7 +223,7 @@ PaymentServer::PaymentServer(QObject* parent, bool startLocalServer) : if (!uriServer->listen(name)) { // constructor is called early in init, so don't use "Q_EMIT message()" here - QMessageBox::critical(0, tr("Payment request error"), + QMessageBox::critical(nullptr, tr("Payment request error"), tr("Cannot start bitcoin: click-to-pay handler")); } else { |