equal
deleted
inserted
replaced
356 Mix_Chunk *sound; |
356 Mix_Chunk *sound; |
357 QDir tmpdir; |
357 QDir tmpdir; |
358 mySdli->SDLMusicInit(); |
358 mySdli->SDLMusicInit(); |
359 |
359 |
360 tmpdir.cd(cfgdir->absolutePath()); |
360 tmpdir.cd(cfgdir->absolutePath()); |
361 tmpdir.cd("Data/Sounds/voices"); |
361 if (!tmpdir.cd("Data/Sounds/voices/"+CBVoicepack->currentText())) |
362 tmpdir.cd(CBVoicepack->currentText()); |
362 { |
363 |
|
364 if (!tmpdir.exists()) { |
|
365 tmpdir.cd(datadir->absolutePath()); |
363 tmpdir.cd(datadir->absolutePath()); |
366 tmpdir.cd("Sounds/voices"); |
364 tmpdir.cd("Sounds/voices"); |
367 tmpdir.cd(CBVoicepack->currentText()); |
365 tmpdir.cd(CBVoicepack->currentText()); |
368 } |
366 } |
369 |
367 |