QTfrontend/main.cpp
changeset 1969 3b04393b1291
parent 1965 340bfd438ca5
child 2034 decdf48cffd7
equal deleted inserted replaced
1968:f32b18c5d495 1969:3b04393b1291
   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");