QTfrontend/ui/page/pageeditteam.cpp
changeset 6525 6c97379c584b
parent 6212 a5d95f32e17f
child 6616 f77bb02b669f
--- a/QTfrontend/ui/page/pageeditteam.cpp	Sun Dec 11 19:57:04 2011 +0100
+++ b/QTfrontend/ui/page/pageeditteam.cpp	Sun Dec 11 23:15:06 2011 +0300
@@ -206,18 +206,12 @@
 
 QLayout * PageEditTeam::footerLayoutDefinition()
 {
-    QHBoxLayout * bottomLayout = new QHBoxLayout();
-
-    btnSave = addButton(":/res/Save.png", bottomLayout, 0, true);;
-    btnSave->setStyleSheet("QPushButton{margin: 24px 0 0 0;}");
-    bottomLayout->setAlignment(btnSave, Qt::AlignRight | Qt::AlignBottom);
-
-    return bottomLayout;
+    return NULL;
 }
 
 void PageEditTeam::connectSignals()
 {
-    connect(btnSave, SIGNAL(clicked()), this, SLOT(saveTeam()));
+    connect(this, SIGNAL(goBack()), this, SLOT(saveTeam()));
 
     signalMapper1 = new QSignalMapper(this);
     signalMapper2 = new QSignalMapper(this);