QTfrontend/hwform.cpp
changeset 301 29bf9c1a3ad3
parent 290 09738170c557
child 306 7b61834edcf6
equal deleted inserted replaced
300:be94799f33d2 301:29bf9c1a3ad3
    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()));