equal
deleted
inserted
replaced
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()) { |