equal
deleted
inserted
replaced
259 themesfile.close(); |
259 themesfile.close(); |
260 } else { |
260 } else { |
261 QMessageBox::critical(0, "Error", "Cannot access themes.cfg", "OK"); |
261 QMessageBox::critical(0, "Error", "Cannot access themes.cfg", "OK"); |
262 } |
262 } |
263 |
263 |
|
264 QDir tmpdir; |
|
265 tmpdir.cd(datadir->absolutePath()); |
|
266 tmpdir.cd("Maps"); |
|
267 tmpdir.setFilter(QDir::Dirs | QDir::NoDotAndDotDot); |
|
268 mapList = new QStringList(tmpdir.entryList(QStringList("*"))); |
|
269 |
264 HWForm *Form = new HWForm(); |
270 HWForm *Form = new HWForm(); |
265 Form->show(); |
271 Form->show(); |
266 return app.exec(); |
272 return app.exec(); |
267 } |
273 } |