equal
deleted
inserted
replaced
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 } |