QTfrontend/main.cpp
changeset 267 bf7c1503f569
parent 184 f97a7a3dc8f6
child 268 88809d92e504
equal deleted inserted replaced
266:53f46353d029 267:bf7c1503f569
    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("../share/");
    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 }