QTfrontend/teamselhelper.cpp
changeset 5423 48b7823ec7e4
parent 4976 088d40d8aba2
child 6015 daffc14a518a
equal deleted inserted replaced
5420:a09227b6c05b 5423:48b7823ec7e4
    47     this->setMinimumHeight(38);
    47     this->setMinimumHeight(38);
    48     QIcon difficultyIcon=team.isNetTeam() ?
    48     QIcon difficultyIcon=team.isNetTeam() ?
    49         QIcon(QString(":/res/botlevels/net%1.png").arg(m_team.difficulty))
    49         QIcon(QString(":/res/botlevels/net%1.png").arg(m_team.difficulty))
    50         : QIcon(QString(":/res/botlevels/%1.png").arg(m_team.difficulty));
    50         : QIcon(QString(":/res/botlevels/%1.png").arg(m_team.difficulty));
    51 
    51 
    52     butt = new QPushButton(difficultyIcon, team.TeamName, this);
    52     butt = new QPushButton(difficultyIcon, team.TeamName.replace("&","&&"), this);
    53     butt->setFlat(true);
    53     butt->setFlat(true);
    54     butt->setToolTip(team.Owner);
    54     butt->setToolTip(team.Owner);
    55     mainLayout.addWidget(butt);
    55     mainLayout.addWidget(butt);
    56     butt->setStyleSheet("QPushButton{"
    56     butt->setStyleSheet("QPushButton{"
    57             "icon-size: 48px;"
    57             "icon-size: 48px;"