QTfrontend/pages.cpp
changeset 2402 edd12b259e7c
parent 2395 d01d3bf3e1de
child 2414 fd9ca82077d8
equal deleted inserted replaced
2401:2a694ea2a437 2402:edd12b259e7c
   287 
   287 
   288 void PageEditTeam::testSound()
   288 void PageEditTeam::testSound()
   289 {
   289 {
   290 	int sound;
   290 	int sound;
   291 	QDir tmpdir;
   291 	QDir tmpdir;
       
   292 
       
   293 	OpenAL_Init();
       
   294 	
   292 	tmpdir.cd(datadir->absolutePath());
   295 	tmpdir.cd(datadir->absolutePath());
   293 	tmpdir.cd("Sounds/voices");
   296 	tmpdir.cd("Sounds/voices");
   294 	tmpdir.cd(CBVoicepack->currentText());
   297 	tmpdir.cd(CBVoicepack->currentText());
   295 	QStringList list = tmpdir.entryList(QStringList() << "Illgetyou.ogg" << "Incoming.ogg" << "Stupid.ogg" << "Coward.ogg" << "Firstblood.ogg", QDir::Files);
   298 	QStringList list = tmpdir.entryList(QStringList() << "Illgetyou.ogg" << "Incoming.ogg" << "Stupid.ogg" << "Coward.ogg" << "Firstblood.ogg", QDir::Files);
   296 	if (list.size()) {
   299 	if (list.size()) {