diff -r 7157b34a24d6 -r 96c3154efee5 QTfrontend/hwform.cpp --- a/QTfrontend/hwform.cpp Thu Oct 05 18:36:04 2006 +0000 +++ b/QTfrontend/hwform.cpp Thu Oct 05 18:44:14 2006 +0000 @@ -61,6 +61,7 @@ connect(ui.pageMain->BtnMultiplayer, SIGNAL(clicked()), this, SLOT(GoToMultiplayer())); connect(ui.pageMain->BtnDemos, SIGNAL(clicked()), this, SLOT(GoToDemos())); connect(ui.pageMain->BtnNet, SIGNAL(clicked()), this, SLOT(GoToNet())); + connect(ui.pageMain->BtnInfo, SIGNAL(clicked()), this, SLOT(GoToInfo())); connect(ui.pageMain->BtnExit, SIGNAL(clicked()), this, SLOT(close())); connect(ui.pageLocalGame->BtnBack, SIGNAL(clicked()), this, SLOT(GoToMain())); @@ -91,6 +92,8 @@ connect(ui.pageNetChat->BtnJoin, SIGNAL(clicked()), this, SLOT(NetJoin())); connect(ui.pageNetChat->BtnCreate, SIGNAL(clicked()), this, SLOT(NetCreate())); + connect(ui.pageInfo->BtnBack, SIGNAL(clicked()), this, SLOT(GoToMain())); + ui.Pages->setCurrentIndex(ID_PAGE_MAIN); } @@ -109,6 +112,11 @@ ui.Pages->setCurrentIndex(ID_PAGE_SETUP); } +void HWForm::GoToInfo() +{ + ui.Pages->setCurrentIndex(ID_PAGE_INFO); +} + void HWForm::GoToMultiplayer() { ui.pageMultiplayer->teamsSelect->resetPlayingTeams(config->GetTeamsList());