QTfrontend/pages.cpp
changeset 2752 df01bbbd0e1a
parent 2747 7889a3a9724f
child 2762 2fbc8d35eb52
--- a/QTfrontend/pages.cpp	Thu Feb 04 22:29:19 2010 +0000
+++ b/QTfrontend/pages.cpp	Thu Feb 04 22:30:42 2010 +0000
@@ -244,7 +244,8 @@
 	{
 		QPixmap pix(datadir->absolutePath() + "/Graphics/Flags/" + *it);
 		QIcon icon(pix.copy(0, 0, 22, 15));
-		CBFlag->addItem(icon, (*it).replace(QRegExp("^(.*)\\.png"), "\\1"));
+		if(it->compare("cpu.png")) // skip cpu flag
+			CBFlag->addItem(icon, (*it).replace(QRegExp("^(.*)\\.png"), "\\1"));
 	}
 
 	vbox1->addStretch();