Diffstat (limited to 'noncore/apps/checkbook/mainwindow.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/checkbook/mainwindow.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/noncore/apps/checkbook/mainwindow.cpp b/noncore/apps/checkbook/mainwindow.cpp index ce15e3e..c7ffa7c 100644 --- a/noncore/apps/checkbook/mainwindow.cpp +++ b/noncore/apps/checkbook/mainwindow.cpp | |||
@@ -194,5 +194,6 @@ void MainWindow::addCheckbook( CBInfo *cb ) | |||
194 | { | 194 | { |
195 | QString balance; | 195 | QString balance; |
196 | balance.sprintf( "%s%.2f", _cfg.getCurrencySymbol().latin1(), cb->balance() ); | 196 | balance.sprintf( "%.2f", cb->balance() ); |
197 | balance.prepend( _cfg.getCurrencySymbol() ); | ||
197 | lvi->setText( posName + 1, balance ); | 198 | lvi->setText( posName + 1, balance ); |
198 | } | 199 | } |
@@ -305,5 +306,6 @@ void MainWindow::openBook(QListViewItem *curritem) | |||
305 | { | 306 | { |
306 | QString tempstr; | 307 | QString tempstr; |
307 | tempstr.sprintf( "%s%.2f", _cfg.getCurrencySymbol().latin1(), cb->balance() ); | 308 | tempstr.sprintf( "%.2f", cb->balance() ); |
309 | tempstr.prepend( _cfg.getCurrencySymbol() ); | ||
308 | curritem->setText( posName + 1, tempstr ); | 310 | curritem->setText( posName + 1, tempstr ); |
309 | } | 311 | } |