wallet, refactor: Drop unused WalletModel::PaymentRequestExpired #609

pull hebasto wants to merge 1 commits into bitcoin-core:master from hebasto:220529-expired changing 2 files +1 −6
  1. hebasto commented at 4:06 pm on May 29, 2022: member
    The PaymentRequestExpired value in the WalletModel::StatusCode enumeration has been unused since bitcoin/bitcoin#17165.
  2. qt, wallet, refactor: Drop unused `WalletModel::PaymentRequestExpired`
    Also dead code has been removed.
    151009cf76
  3. hebasto added the label Refactoring on May 29, 2022
  4. hebasto added the label Wallet on May 29, 2022
  5. hebasto renamed this:
    qt, wallet, refactor: Drop unused `WalletModel::PaymentRequestExpired`
    wallet, refactor: Drop unused `WalletModel::PaymentRequestExpired`
    on May 29, 2022
  6. furszy approved
  7. furszy commented at 6:40 pm on May 29, 2022: contributor
    ACK 151009cf, no usage for it.
  8. kristapsk approved
  9. kristapsk commented at 6:42 pm on May 29, 2022: contributor
    cr ACK 151009cf76f3f1adc17630d5370bf019be127373, checked that PaymentRequestExpired is not referenced anywhere else.
  10. hebasto merged this on May 30, 2022
  11. hebasto closed this on May 30, 2022

  12. hebasto deleted the branch on May 30, 2022
  13. in src/qt/sendcoinsdialog.cpp:761 in 151009cf76
    756@@ -757,10 +757,6 @@ void SendCoinsDialog::processSendCoinsReturn(const WalletModel::SendCoinsReturn
    757     case WalletModel::AbsurdFee:
    758         msgParams.first = tr("A fee higher than %1 is considered an absurdly high fee.").arg(BitcoinUnits::formatWithUnit(model->getOptionsModel()->getDisplayUnit(), model->wallet().getDefaultMaxTxFee()));
    759         break;
    760-    case WalletModel::PaymentRequestExpired:
    761-        msgParams.first = tr("Payment request expired.");
    


    flack commented at 7:56 pm on May 30, 2022:
    Should the corresponding entries from the locae files also be removed, or is that done in Transifex somehow?

    hebasto commented at 8:01 pm on May 30, 2022:
    That is responsibility of the translation process.
  14. sidhujag referenced this in commit 8a6fff0430 on May 31, 2022
  15. bitcoin-core locked this on Jun 5, 2023

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/gui. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-23 07:20 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me