new windows fix
This commit is contained in:
@@ -189,10 +189,10 @@ void MyAvatarLabel::refreshStars()
|
|||||||
if((*it_c)->getMyStayOnTableStatus() == TRUE && (*it_c)->getMyName()!="" && seatPlace!=0) {
|
if((*it_c)->getMyStayOnTableStatus() == TRUE && (*it_c)->getMyName()!="" && seatPlace!=0) {
|
||||||
int playerStars=getPlayerRating(QString::fromUtf8((*it_c)->getMyName().c_str()));
|
int playerStars=getPlayerRating(QString::fromUtf8((*it_c)->getMyName().c_str()));
|
||||||
for(int i=1; i<=5; i++) {
|
for(int i=1; i<=5; i++) {
|
||||||
myW->playerStarsArray[i][seatPlace]->setText("<a style='color: #"+myW->getMyGameTableStyle()->getRatingStarsColor()+"; "+myW->getMyGameTableStyle()->getFont2String()+" font-size: "+fontSize+"px; text-decoration: none;' href='"+QString::fromUtf8((*it_c)->getMyName().c_str())+"\""+QString::number(i)+"'>☆</a>");
|
myW->playerStarsArray[i][seatPlace]->setText("<a style='color: #"+myW->getMyGameTableStyle()->getRatingStarsColor()+"; "+myW->getMyGameTableStyle()->getFont1String()+" font-size: "+fontSize+"px; text-decoration: none;' href='"+QString::fromUtf8((*it_c)->getMyName().c_str())+"\""+QString::number(i)+"'>☆</a>");
|
||||||
}
|
}
|
||||||
for(int i=1; i<=playerStars; i++) {
|
for(int i=1; i<=playerStars; i++) {
|
||||||
myW->playerStarsArray[i][seatPlace]->setText("<a style='color: #"+myW->getMyGameTableStyle()->getRatingStarsColor()+"; "+myW->getMyGameTableStyle()->getFont2String()+" font-size: "+fontSize+"px; text-decoration: none;' href='"+QString::fromUtf8((*it_c)->getMyName().c_str())+"\""+QString::number(i)+"'>★</a>");
|
myW->playerStarsArray[i][seatPlace]->setText("<a style='color: #"+myW->getMyGameTableStyle()->getRatingStarsColor()+"; "+myW->getMyGameTableStyle()->getFont1String()+" font-size: "+fontSize+"px; text-decoration: none;' href='"+QString::fromUtf8((*it_c)->getMyName().c_str())+"\""+QString::number(i)+"'>★</a>");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -146,6 +146,10 @@ public:
|
|||||||
return font2String;
|
return font2String;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QString getFont1String() const {
|
||||||
|
return font1String;
|
||||||
|
}
|
||||||
|
|
||||||
QString getMinimumWindowWidth() const {
|
QString getMinimumWindowWidth() const {
|
||||||
return MinimumWindowWidth;
|
return MinimumWindowWidth;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user