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