Merge pull request #143 from openjck/two-pair
Renamed the hand "Two Pairs" to "Two Pair".
This commit is contained in:
@@ -954,7 +954,7 @@ std::string CardsValue::determineHandName(int myCardsValueInt, PlayerList active
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
// Two Pairs
|
// Two Pair
|
||||||
case 2: {
|
case 2: {
|
||||||
|
|
||||||
handName = *cardStringIt_c;
|
handName = *cardStringIt_c;
|
||||||
@@ -1775,9 +1775,9 @@ std::list<std::string> CardsValue::translateCardsValueCode(int cardsValueCode)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
// Two Pairs
|
// Two Pair
|
||||||
case 2: {
|
case 2: {
|
||||||
cardString.push_back("Two Pairs, ");
|
cardString.push_back("Two Pair, ");
|
||||||
// erster Pair
|
// erster Pair
|
||||||
switch(secondPart) {
|
switch(secondPart) {
|
||||||
case 12:
|
case 12:
|
||||||
|
|||||||
@@ -180,7 +180,7 @@ void MyChanceLabel::paintEvent(QPaintEvent * /*event*/)
|
|||||||
} else {
|
} else {
|
||||||
painter.setPen(possible);
|
painter.setPen(possible);
|
||||||
}
|
}
|
||||||
painter.drawText(QRectF(QPointF(2,start_y+7*height), QPointF(text_width,start_y+8*height)),Qt::AlignRight,"Two Pairs");
|
painter.drawText(QRectF(QPointF(2,start_y+7*height), QPointF(text_width,start_y+8*height)),Qt::AlignRight,"Two Pair");
|
||||||
painter.drawText(QRectF(QPointF(percent_start,start_y+7*height), QPointF(percent_start+percent_width,start_y+8*height)),Qt::AlignRight,QString("%1%").arg(TPChance[0]));
|
painter.drawText(QRectF(QPointF(percent_start,start_y+7*height), QPointF(percent_start+percent_width,start_y+8*height)),Qt::AlignRight,QString("%1%").arg(TPChance[0]));
|
||||||
if(OPChance[1] == 0 || myFoldState) {
|
if(OPChance[1] == 0 || myFoldState) {
|
||||||
painter.setPen(impossible);
|
painter.setPen(impossible);
|
||||||
|
|||||||
Reference in New Issue
Block a user