QTfrontend/teamselhelper.cpp
changeset 3992 283a6d17fc4b
parent 2948 3f21a9dc93d0
child 4412 c9a78ba03679
equal deleted inserted replaced
3991:82e4a5ef18f7 3992:283a6d17fc4b
    73         connect(colorButt, SIGNAL(clicked()), this, SLOT(changeTeamColor()));
    73         connect(colorButt, SIGNAL(clicked()), this, SLOT(changeTeamColor()));
    74         mainLayout.addWidget(colorButt);
    74         mainLayout.addWidget(colorButt);
    75 
    75 
    76         phhoger = new CHedgehogerWidget(QImage(":/res/hh25x25.png"), this);
    76         phhoger = new CHedgehogerWidget(QImage(":/res/hh25x25.png"), this);
    77         connect(phhoger, SIGNAL(hedgehogsNumChanged()), this, SLOT(hhNumChanged()));
    77         connect(phhoger, SIGNAL(hedgehogsNumChanged()), this, SLOT(hhNumChanged()));
       
    78         phhoger->setHHNum(team.numHedgehogs);
    78         mainLayout.addWidget(phhoger);
    79         mainLayout.addWidget(phhoger);
    79     } else {
    80     } else {
    80     }
    81     }
    81 
    82 
    82     QObject::connect(butt, SIGNAL(clicked()), this, SLOT(activateTeam()));
    83     QObject::connect(butt, SIGNAL(clicked()), this, SLOT(activateTeam()));