QTfrontend/main.cpp.in
changeset 261 21b03fe1cc28
parent 187 96c3154efee5
child 274 94bd2577ebbb
--- a/QTfrontend/main.cpp.in	Tue Nov 21 17:44:02 2006 +0000
+++ b/QTfrontend/main.cpp.in	Thu Nov 23 18:54:18 2006 +0000
@@ -71,8 +71,8 @@
 	}
 	cfgdir->cd(".hedgewars");
 
-	datadir = new QDir(mydir);
-	datadir->cd("../share/hedgewars/Data");
+	datadir = new QDir("${HEDGEWARS_DATADIR}");
+	datadir->cd("hedgewars/Data");
 
 	HWForm *Form = new HWForm();
 	Form->show();