equal
deleted
inserted
replaced
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;" |