# HG changeset patch # User nemo # Date 1315888361 14400 # Node ID a4a620f68b2217f75dd20e67ac7cd4d67aa46bb4 # Parent ae257409bcffcfeb21bf19d018860d01a2ee66e9 fix voice preview diff -r ae257409bcff -r a4a620f68b22 QTfrontend/pageeditteam.cpp --- a/QTfrontend/pageeditteam.cpp Tue Sep 13 00:13:01 2011 -0400 +++ b/QTfrontend/pageeditteam.cpp Tue Sep 13 00:32:41 2011 -0400 @@ -358,10 +358,8 @@ mySdli->SDLMusicInit(); tmpdir.cd(cfgdir->absolutePath()); - tmpdir.cd("Data/Sounds/voices"); - tmpdir.cd(CBVoicepack->currentText()); - - if (!tmpdir.exists()) { + if (!tmpdir.cd("Data/Sounds/voices/"+CBVoicepack->currentText())) + { tmpdir.cd(datadir->absolutePath()); tmpdir.cd("Sounds/voices"); tmpdir.cd(CBVoicepack->currentText());