QTfrontend/teamselhelper.cpp
changeset 116 00d3d6d2e699
parent 86 664b536a1c27
child 117 d21a48200772
equal deleted inserted replaced
115:4cce20ef48ea 116:00d3d6d2e699
    11 TeamShowWidget::TeamShowWidget(tmprop team, QWidget * parent) :
    11 TeamShowWidget::TeamShowWidget(tmprop team, QWidget * parent) :
    12   QWidget(parent), mainLayout(this), m_team(team)
    12   QWidget(parent), mainLayout(this), m_team(team)
    13 {
    13 {
    14   this->setMaximumHeight(40);
    14   this->setMaximumHeight(40);
    15   QLabel* pixlbl=new QLabel();
    15   QLabel* pixlbl=new QLabel();
    16   pixlbl->setPixmap(QPixmap("./Data/Graphics/thinking.png"));
    16   pixlbl->setPixmap(QPixmap("../share/hedgewars/Data/Graphics/thinking.png"));
    17   mainLayout.addWidget(pixlbl);
    17   mainLayout.addWidget(pixlbl);
    18 
    18 
    19   TeamLabel* lbl=new TeamLabel(team.teamName);
    19   TeamLabel* lbl=new TeamLabel(team.teamName);
    20   mainLayout.addWidget(lbl);
    20   mainLayout.addWidget(lbl);
    21 
    21