diff -r 416fdfb666da -r 6c97379c584b QTfrontend/ui/page/pageeditteam.cpp --- 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);