--- a/QTfrontend/hwform.cpp Wed Mar 18 22:02:55 2009 +0000
+++ b/QTfrontend/hwform.cpp Sat Mar 21 10:49:58 2009 +0000
@@ -120,6 +120,7 @@
connect(ui.pageNetGame->pGameCFG, SIGNAL(goToSchemes()), this, SLOT(GoToSchemes()));
connect(ui.pageRoomsList->BtnBack, SIGNAL(clicked()), this, SLOT(GoBack()));
+ connect(ui.pageRoomsList->BtnAdmin, SIGNAL(clicked()), this, SLOT(GoToAdmin()));
connect(ui.pageInfo->BtnBack, SIGNAL(clicked()), this, SLOT(GoBack()));
@@ -148,6 +149,8 @@
connect(ui.pageScheme->BtnBack, SIGNAL(clicked()), this, SLOT(GoBack()));
+ connect(ui.pageAdmin->BtnBack, SIGNAL(clicked()), this, SLOT(GoBack()));
+
ammoSchemeModel = new AmmoSchemeModel(this, cfgdir->absolutePath() + "/schemes.ini");
ui.pageScheme->setModel(ammoSchemeModel);
@@ -293,6 +296,11 @@
GoToPage(ID_PAGE_SCHEME);
}
+void HWForm::GoToAdmin()
+{
+ GoToPage(ID_PAGE_ADMIN);
+}
+
void HWForm::OnPageShown(quint8 id, quint8 lastid)
{
if (id == ID_PAGE_MULTIPLAYER || id == ID_PAGE_NETGAME) {