QTfrontend/pageeditteam.cpp
changeset 5886 a4a620f68b22
parent 5549 ccfb9b8ab9d1
child 5907 64ccc6be0ec5
--- 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());