QTfrontend/mapContainer.cpp
changeset 4125 877ecc9d9d82
parent 3951 c9a63db3e603
child 4316 c4e98c10fc71
--- a/QTfrontend/mapContainer.cpp	Fri Nov 05 12:33:52 2010 -0400
+++ b/QTfrontend/mapContainer.cpp	Fri Nov 05 12:52:37 2010 -0400
@@ -62,8 +62,14 @@
 
     chooseMap = new QComboBox(this);
     chooseMap->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
-    chooseMap->addItem(QIcon(":/res/mapRandom.png"), QComboBox::tr("generated map..."));
-    chooseMap->addItem(QIcon(":/res/mapMaze.png"), QComboBox::tr("generated maze..."));
+    chooseMap->addItem(
+// FIXME - need real icons. Disabling until then
+//QIcon(":/res/mapRandom.png"), 
+QComboBox::tr("generated map..."));
+    chooseMap->addItem(
+// FIXME - need real icons. Disabling until then
+//QIcon(":/res/mapMaze.png"), 
+QComboBox::tr("generated maze..."));
     chooseMap->insertSeparator(chooseMap->count()); // separator between generators and missions
 
     int missionindex = chooseMap->count();
@@ -95,11 +101,17 @@
             mapInfo.push_back(mapLuaFile.exists());
             if(mapLuaFile.exists())
             {
-                chooseMap->insertItem(missionindex++, QIcon(":/res/mapMission.png"), QComboBox::tr("Mission") + ": " + map, mapInfo);
+                chooseMap->insertItem(missionindex++, 
+// FIXME - need real icons. Disabling until then
+//QIcon(":/res/mapMission.png"), 
+QComboBox::tr("Mission") + ": " + map, mapInfo);
                 numMissions++;
             }
             else
-                chooseMap->addItem(QIcon(":/res/mapCustom.png"), map, mapInfo);
+                chooseMap->addItem(
+// FIXME - need real icons. Disabling until then
+//QIcon(":/res/mapCustom.png"), 
+map, mapInfo);
             mapCfgFile.close();
         }
     }