QTfrontend/main.cpp.in
changeset 261 21b03fe1cc28
parent 187 96c3154efee5
child 274 94bd2577ebbb
equal deleted inserted replaced
260:2208405af6c6 261:21b03fe1cc28
    69 	{
    69 	{
    70 		checkForDir(cfgdir->absolutePath() + "/.hedgewars/Demos");
    70 		checkForDir(cfgdir->absolutePath() + "/.hedgewars/Demos");
    71 	}
    71 	}
    72 	cfgdir->cd(".hedgewars");
    72 	cfgdir->cd(".hedgewars");
    73 
    73 
    74 	datadir = new QDir(mydir);
    74 	datadir = new QDir("${HEDGEWARS_DATADIR}");
    75 	datadir->cd("../share/hedgewars/Data");
    75 	datadir->cd("hedgewars/Data");
    76 
    76 
    77 	HWForm *Form = new HWForm();
    77 	HWForm *Form = new HWForm();
    78 	Form->show();
    78 	Form->show();
    79 	return app.exec();
    79 	return app.exec();
    80 }
    80 }