Ui fixes.
authorMarja Hassinen <marja2@Vahvero.(none)>
Tue, 5 Jan 2010 20:25:41 +0000 (22:25 +0200)
committerMarja Hassinen <marja2@Vahvero.(none)>
Tue, 5 Jan 2010 20:25:41 +0000 (22:25 +0200)
src/game.cpp

index 1466704..370114d 100644 (file)
@@ -592,7 +592,7 @@ void LevelSwitcher::chooseLevelCollection()
             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) {
@@ -608,7 +608,7 @@ void LevelSwitcher::chooseLevelCollection()
 void LevelSwitcher::onLevelCollectionChosen()
 {
     levelWidget->hide();
-    curColl = levelList->currentItem()->text().split(" ").first();
+    curColl = levelList->currentItem()->text().split(",").first();
 
     if (levelCollections.contains(curColl)) {
         levels = levelCollections[curColl];