QTfrontend/pagemultiplayer.cpp
changeset 6009 14f6fc9869f2
parent 5204 e1a5f4d5d86a
child 6042 8b5345758f62
--- a/QTfrontend/pagemultiplayer.cpp	Sat Sep 24 04:53:53 2011 +0200
+++ b/QTfrontend/pagemultiplayer.cpp	Sat Sep 24 16:22:10 2011 +0200
@@ -28,8 +28,6 @@
 {
     QGridLayout * pageLayout = new QGridLayout(this);
 
-    BtnBack = addButton(":/res/Exit.png", pageLayout, 3, 0, true);
-
     gameCFG = new GameCFGWidget(this);
     pageLayout->addWidget(gameCFG, 0, 0, 1, 2);
 
@@ -44,4 +42,8 @@
     pageLayout->addWidget(teamsSelect, 0, 2, 3, 2);
 
     BtnStartMPGame = addButton(tr("Start"), pageLayout, 3, 3);
+
+
+    BtnBack = addButton(":/res/Exit.png", pageLayout, 3, 0, true);
+    connect(BtnBack, SIGNAL(clicked()), this, SIGNAL(goBack()));
 }