projects
/
evilplumber
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
993d7b4
)
Ui fixes.
author
Marja Hassinen
<marja2@Vahvero.(none)>
Tue, 5 Jan 2010 20:25:41 +0000
(22:25 +0200)
committer
Marja Hassinen
<marja2@Vahvero.(none)>
Tue, 5 Jan 2010 20:25:41 +0000
(22:25 +0200)
src/game.cpp
patch
|
blob
|
history
diff --git
a/src/game.cpp
b/src/game.cpp
index
1466704
..
370114d
100644
(file)
--- a/
src/game.cpp
+++ b/
src/game.cpp
@@
-592,7
+592,7
@@
void LevelSwitcher::chooseLevelCollection()
total = levelCollections[collection].size();
}
total = levelCollections[collection].size();
}
- newItem->setText(collection + " \tPassed: " +
+ newItem->setText(collection + ", passed: " +
QString::number(passed) + " / " + QString::number(total));
levelList->addItem(newItem); // transfers ownership
if (first && passed < total) {
QString::number(passed) + " / " + QString::number(total));
levelList->addItem(newItem); // transfers ownership
if (first && passed < total) {
@@
-608,7
+608,7
@@
void LevelSwitcher::chooseLevelCollection()
void LevelSwitcher::onLevelCollectionChosen()
{
levelWidget->hide();
void LevelSwitcher::onLevelCollectionChosen()
{
levelWidget->hide();
- curColl = levelList->currentItem()->text().split(" ").first();
+ curColl = levelList->currentItem()->text().split(",").first();
if (levelCollections.contains(curColl)) {
levels = levelCollections[curColl];
if (levelCollections.contains(curColl)) {
levels = levelCollections[curColl];