diff -r 2208405af6c6 -r 21b03fe1cc28 QTfrontend/main.cpp.in --- 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();