diff options
| author | Pieter Wuille <[email protected]> | 2012-04-02 07:19:22 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2012-04-02 07:19:22 -0700 |
| commit | 91c5132ab5274396d79a0a6931efe6404dc2d2be (patch) | |
| tree | 552814b0a1c6c5b5b2b620480c0ab9cc86a33f2c /src | |
| parent | Merge pull request #1022 from Diapolo/fix#1020 (diff) | |
| parent | removed an ugly line break in a transaction tooltip for case TransactionStatu... (diff) | |
| download | discoin-91c5132ab5274396d79a0a6931efe6404dc2d2be.tar.xz discoin-91c5132ab5274396d79a0a6931efe6404dc2d2be.zip | |
Merge pull request #998 from Diapolo/transactiontable
removed an ugly line break in a transaction tooltip
Diffstat (limited to 'src')
| -rw-r--r-- | src/qt/transactiontablemodel.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/qt/transactiontablemodel.cpp b/src/qt/transactiontablemodel.cpp index b86354669..480d4ac25 100644 --- a/src/qt/transactiontablemodel.cpp +++ b/src/qt/transactiontablemodel.cpp @@ -288,20 +288,19 @@ QString TransactionTableModel::formatTxStatus(const TransactionRecord *wtx) cons } if(wtx->type == TransactionRecord::Generated) { - status += "\n"; switch(wtx->status.maturity) { case TransactionStatus::Immature: - status += tr("Mined balance will be available in %n more blocks", "", + status += "\n" + tr("Mined balance will be available in %n more blocks", "", wtx->status.matures_in); break; case TransactionStatus::Mature: break; case TransactionStatus::MaturesWarning: - status += tr("This block was not received by any other nodes and will probably not be accepted!"); + status += "\n" + tr("This block was not received by any other nodes and will probably not be accepted!"); break; case TransactionStatus::NotAccepted: - status += tr("Generated but not accepted"); + status += "\n" + tr("Generated but not accepted"); break; } } |