aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2012-03-27 23:15:05 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2012-03-27 23:20:09 +0200
commit0b637e0b86491e606668ceae757d01ae560970ce (patch)
treeb04346920cacef410f2062313af1a1c32d610223 /src/qt
parent8d29329f934b1abb178037e18f434255736b5c81 (diff)
removed an ugly line break in a transaction tooltip for case TransactionStatus::Mature
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/transactiontablemodel.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/qt/transactiontablemodel.cpp b/src/qt/transactiontablemodel.cpp
index b863546691..480d4ac25e 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;
}
}