[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdegames/ksame
From: Christoph Feck <christoph () maxiom ! de>
Date: 2010-02-01 21:54:02
Message-ID: 1265061242.235082.24268.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1083766 by cfeck:
Show marked/score in status bar
BUG: 195269
M +1 -2 mainwindow.cpp
--- trunk/KDE/kdegames/ksame/mainwindow.cpp #1083765:1083766
@@ -190,8 +190,7 @@
void KSame::MainWindow::setMarked( int markedStones )
{
qint32 markedScore = KSame::Board::calculateScore( markedStones );
- KLocalizedString markedText = ki18n("Marked: %1 (%2 Points)");
- m_statusBar->changeItem( markedText.subs( markedStones, 3 ).subs( markedScore, 3 ).toString(), 3);
+ m_statusBar->changeItem( i18n("Marked: %1 (%2 Points)", markedStones, markedScore ), 3);
}
void KSame::MainWindow::setScore( quint32 score )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic