equal
deleted
inserted
replaced
242 list = tmpdir.entryList(QStringList("*.png")); |
242 list = tmpdir.entryList(QStringList("*.png")); |
243 for (QStringList::Iterator it = list.begin(); it != list.end(); ++it ) |
243 for (QStringList::Iterator it = list.begin(); it != list.end(); ++it ) |
244 { |
244 { |
245 QPixmap pix(datadir->absolutePath() + "/Graphics/Flags/" + *it); |
245 QPixmap pix(datadir->absolutePath() + "/Graphics/Flags/" + *it); |
246 QIcon icon(pix.copy(0, 0, 22, 15)); |
246 QIcon icon(pix.copy(0, 0, 22, 15)); |
247 CBFlag->addItem(icon, (*it).replace(QRegExp("^(.*)\\.png"), "\\1")); |
247 if(it->compare("cpu.png")) // skip cpu flag |
|
248 CBFlag->addItem(icon, (*it).replace(QRegExp("^(.*)\\.png"), "\\1")); |
248 } |
249 } |
249 |
250 |
250 vbox1->addStretch(); |
251 vbox1->addStretch(); |
251 vbox2->addStretch(); |
252 vbox2->addStretch(); |
252 // vbox3->addStretch(); |
253 // vbox3->addStretch(); |