running astyle
This commit is contained in:
@@ -3533,8 +3533,7 @@ void gameTableImpl::refreshCardsChance(GameState bero)
|
||||
|
||||
if(humanPlayer->getMyAction() == PLAYER_ACTION_FOLD) {
|
||||
label_chance->refreshChance(CardsValue::calcCardsChance(bero, holeCards, boardCards), true);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
label_chance->refreshChance(CardsValue::calcCardsChance(bero, holeCards, boardCards), false);
|
||||
}
|
||||
} else {
|
||||
|
||||
@@ -184,8 +184,11 @@ void MyChanceLabel::paintEvent(QPaintEvent * /*event*/)
|
||||
linearGrad.setColorAt(1, Qt::red);
|
||||
painter.setBrush(linearGrad);
|
||||
|
||||
if(myFoldState) { painter.setOpacity(0.4); }
|
||||
else { painter.setOpacity(1.0); }
|
||||
if(myFoldState) {
|
||||
painter.setOpacity(0.4);
|
||||
} else {
|
||||
painter.setOpacity(1.0);
|
||||
}
|
||||
|
||||
if(RFChance[1] != 0) painter.drawRect(89,3,(108*RFChance[0])/100,7);
|
||||
if(SFChance[1] != 0) painter.drawRect(89,16,(108*SFChance[0])/100,7);
|
||||
|
||||
@@ -336,7 +336,7 @@ void GuiWrapper::SignalNetClientSelfJoined(unsigned playerId, const string &play
|
||||
}
|
||||
void GuiWrapper::SignalNetClientPlayerJoined(unsigned playerId, const string &playerName, bool isGameAdmin)
|
||||
{
|
||||
myStartWindow->signalNetClientPlayerJoined(playerId, QString::fromUtf8(playerName.c_str()), isGameAdmin);
|
||||
myStartWindow->signalNetClientPlayerJoined(playerId, QString::fromUtf8(playerName.c_str()), isGameAdmin);
|
||||
if (!playerName.empty() && playerName[0] != '#' && myW->isVisible()) {
|
||||
QString tmpName(QString::fromUtf8(playerName.c_str()));
|
||||
myGuiLog->signalLogPlayerJoinedMsg(tmpName);
|
||||
|
||||
Reference in New Issue
Block a user