QTfrontend/main.cpp
branch0.9.19
changeset 9095 17ee5231f31f
parent 9093 4114ce5d885d
child 9163 67334acaaac7
equal deleted inserted replaced
9093:4114ce5d885d 9095:17ee5231f31f
   220             checkForDir(cfgdir->absolutePath() + "/Hedgewars");
   220             checkForDir(cfgdir->absolutePath() + "/Hedgewars");
   221             cfgdir->cd("Hedgewars");
   221             cfgdir->cd("Hedgewars");
   222         }
   222         }
   223         else // couldn't retrieve documents folder? almost impossible, but in case fall back to classic path
   223         else // couldn't retrieve documents folder? almost impossible, but in case fall back to classic path
   224         {
   224         {
   225             checkForDir(cfgdir->absolutePath() + "/.hedgewars_0.9.19");
   225             checkForDir(cfgdir->absolutePath() + "/.hedgewars");
   226             cfgdir->cd(".hedgewars_0.9.19");
   226             cfgdir->cd(".hedgewars");
   227         }
   227         }
   228 #else
   228 #else
   229         checkForDir(cfgdir->absolutePath() + "/.hedgewars_0.9.19");
   229         checkForDir(cfgdir->absolutePath() + "/.hedgewars");
   230         cfgdir->cd(".hedgewars_0.9.19");
   230         cfgdir->cd(".hedgewars");
   231 #endif
   231 #endif
   232     }
   232     }
   233 
   233 
   234     if (checkForDir(cfgdir->absolutePath()))
   234     if (checkForDir(cfgdir->absolutePath()))
   235     {
   235     {