equal
deleted
inserted
replaced
38 HWForm::HWForm(QWidget *parent) |
38 HWForm::HWForm(QWidget *parent) |
39 : QMainWindow(parent) |
39 : QMainWindow(parent) |
40 { |
40 { |
41 ui.setupUi(this); |
41 ui.setupUi(this); |
42 |
42 |
43 config = new GameUIConfig(this); |
43 config = new GameUIConfig(this, cfgdir->absolutePath() + "/hedgewars.ini"); |
44 |
44 |
45 UpdateTeamsLists(); |
45 UpdateTeamsLists(); |
46 |
46 |
47 connect(ui.pageMain->BtnSinglePlayer, SIGNAL(clicked()), this, SLOT(GoToSinglePlayer())); |
47 connect(ui.pageMain->BtnSinglePlayer, SIGNAL(clicked()), this, SLOT(GoToSinglePlayer())); |
48 connect(ui.pageMain->BtnSetup, SIGNAL(clicked()), this, SLOT(GoToSetup())); |
48 connect(ui.pageMain->BtnSetup, SIGNAL(clicked()), this, SLOT(GoToSetup())); |