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