another way to initialize stayOnTableStatus for player-objects

This commit is contained in:
doitux
2011-12-18 22:34:55 +00:00
parent 0f93d0d9b0
commit fb94675aee
12 changed files with 18 additions and 16 deletions
+3 -1
View File
@@ -968,10 +968,12 @@ void gameTableImpl::refreshPlayerAvatar()
}
break;
case SEAT_AUTOFOLD: {
qDebug() << seatPlace << "AUTOFOLD";
playerAvatarLabelArray[(*it_c)->getMyID()]->setPixmapAndCountry(avatarPic, countryString, seatPlace, TRUE);
}
break;
case SEAT_STAYONTABLE: {
qDebug() << seatPlace << "STAYONTABLE";
playerAvatarLabelArray[(*it_c)->getMyID()]->setPixmapAndCountry(avatarPic, countryString, seatPlace, TRUE);
}
break;
@@ -1087,8 +1089,8 @@ void gameTableImpl::refreshCash()
}
break;
case SEAT_AUTOFOLD: {
cashLabelArray[(*it_c)->getMyID()]->setText("$"+QString("%L1").arg((*it_c)->getMyCash()));
cashLabelArray[(*it_c)->getMyID()]->setGraphicsEffect(&opacity);
cashLabelArray[(*it_c)->getMyID()]->setText("$"+QString("%L1").arg((*it_c)->getMyCash()));
}
break;
case SEAT_STAYONTABLE: {
+1 -1
View File
@@ -592,7 +592,7 @@ void startWindowImpl::callSettingsDialog()
void startWindowImpl::showTimeoutDialog(int msgID, unsigned duration)
{
qDebug() << "show timeout";
if(myTimeoutDialog->isHidden()) {
myTimeoutDialog->setMySession(mySession);
myTimeoutDialog->setMsgID((NetTimeoutReason)msgID);