equal
deleted
inserted
replaced
254 if (checkForDir(cfgdir->absolutePath() + "/Library/Application Support/Hedgewars")) |
254 if (checkForDir(cfgdir->absolutePath() + "/Library/Application Support/Hedgewars")) |
255 { |
255 { |
256 checkForDir(cfgdir->absolutePath() + "/Library/Application Support/Hedgewars/Demos"); |
256 checkForDir(cfgdir->absolutePath() + "/Library/Application Support/Hedgewars/Demos"); |
257 checkForDir(cfgdir->absolutePath() + "/Library/Application Support/Hedgewars/Saves"); |
257 checkForDir(cfgdir->absolutePath() + "/Library/Application Support/Hedgewars/Saves"); |
258 } |
258 } |
259 cfgdir->cd("/Library/Application Support/Hedgewars"); |
259 cfgdir->cd("Library/Application Support/Hedgewars"); |
260 #else |
260 #else |
261 if (checkForDir(cfgdir->absolutePath() + "/.hedgewars")) |
261 if (checkForDir(cfgdir->absolutePath() + "/.hedgewars")) |
262 { |
262 { |
263 checkForDir(cfgdir->absolutePath() + "/.hedgewars/Demos"); |
263 checkForDir(cfgdir->absolutePath() + "/.hedgewars/Demos"); |
264 checkForDir(cfgdir->absolutePath() + "/.hedgewars/Saves"); |
264 checkForDir(cfgdir->absolutePath() + "/.hedgewars/Saves"); |