next steps implementing cardschance
This commit is contained in:
@@ -591,6 +591,7 @@ gameTableImpl::gameTableImpl(ConfigFile *c, QMainWindow *parent)
|
||||
connect(this, SIGNAL(signalStartVoteOnKick(int, int)), this, SLOT(startVoteOnKick(int, int)));
|
||||
connect(this, SIGNAL(signalEndVoteOnKick()), this, SLOT(endVoteOnKick()));
|
||||
|
||||
refreshCardsChance();
|
||||
}
|
||||
|
||||
gameTableImpl::~gameTableImpl() {
|
||||
@@ -3124,3 +3125,8 @@ void gameTableImpl::refreshVotesMonitor()
|
||||
label_votesMonitor->setText(tr("Player <b>%1</b> has %2 votes against him.").arg(QString::fromUtf8(info.playerName.c_str())));
|
||||
}
|
||||
|
||||
void gameTableImpl::refreshCardsChance()
|
||||
{
|
||||
label_chance->refreshChance(Tools::calcCardsChance());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user