diff options
| author | Wladimir J. van der Laan <[email protected]> | 2015-01-29 12:47:13 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2015-01-29 12:48:27 +0100 |
| commit | 7823598fa4774141568e5b6d73c4277a452f8d16 (patch) | |
| tree | 97e3d2e86cee27ff8d77f93b706981841626dbfc /src/qt/sendcoinsdialog.cpp | |
| parent | Merge pull request #5720 (diff) | |
| parent | [Qt] Payment request expiration bug fix (re-done) (diff) | |
| download | discoin-7823598fa4774141568e5b6d73c4277a452f8d16.tar.xz discoin-7823598fa4774141568e5b6d73c4277a452f8d16.zip | |
Merge pull request #5620
6715efb [Qt] Payment request expiration bug fix (re-done) (Philip Kaufmann)
Diffstat (limited to 'src/qt/sendcoinsdialog.cpp')
| -rw-r--r-- | src/qt/sendcoinsdialog.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp index 1f9bd5754..9e8743d80 100644 --- a/src/qt/sendcoinsdialog.cpp +++ b/src/qt/sendcoinsdialog.cpp @@ -529,6 +529,10 @@ void SendCoinsDialog::processSendCoinsReturn(const WalletModel::SendCoinsReturn case WalletModel::InsaneFee: msgParams.first = tr("A fee higher than %1 is considered an insanely high fee.").arg(BitcoinUnits::formatWithUnit(model->getOptionsModel()->getDisplayUnit(), 10000000)); break; + case WalletModel::PaymentRequestExpired: + msgParams.first = tr("Payment request expired!"); + msgParams.second = CClientUIInterface::MSG_ERROR; + break; // included to prevent a compiler warning. case WalletModel::OK: default: |