equal
deleted
inserted
replaced
35 colorButt(0) |
35 colorButt(0) |
36 { |
36 { |
37 mainLayout.setSpacing(1); |
37 mainLayout.setSpacing(1); |
38 mainLayout.setMargin(2); |
38 mainLayout.setMargin(2); |
39 this->setMaximumHeight(35); |
39 this->setMaximumHeight(35); |
40 QIcon difficultyIcon=team.isNetTeam() ? QIcon(QString(":/res/net.png")) |
40 QIcon difficultyIcon=team.isNetTeam() ? |
|
41 QIcon(QString(":/res/botlevels/net%1.png").arg(m_team.difficulty)) |
41 : QIcon(QString(":/res/botlevels/%1.png").arg(m_team.difficulty)); |
42 : QIcon(QString(":/res/botlevels/%1.png").arg(m_team.difficulty)); |
42 |
43 |
43 QPalette newPalette = palette(); |
44 QPalette newPalette = palette(); |
44 newPalette.setColor(QPalette::Button, palette().color(backgroundRole())); |
45 newPalette.setColor(QPalette::Button, palette().color(backgroundRole())); |
45 |
46 |