startbutton blink fix

This commit is contained in:
doitux
2009-06-19 21:16:21 +00:00
parent 4c8248353a
commit e79b3d5fae
@@ -573,19 +573,19 @@ void gameLobbyDialogImpl::checkPlayerQuantity() {
if (treeWidget_connectedPlayers->topLevelItemCount() >= 2) {
pushButton_StartGame->setEnabled(true);
if(treeWidget_connectedPlayers->topLevelItemCount() == label_MaximumNumberOfPlayers->text().toInt()) {
blinkingButtonAnimationTimer->start();
}
else {
blinkingButtonAnimationTimer->stop();
blinkingButtonAnimationState = false;
blinkingStartButtonAnimation();
}
}
else {
pushButton_StartGame->setEnabled(false);
}
if(treeWidget_connectedPlayers->topLevelItemCount() == label_MaximumNumberOfPlayers->text().toInt()) {
blinkingButtonAnimationTimer->start();
}
else {
blinkingButtonAnimationTimer->stop();
blinkingButtonAnimationState = false;
blinkingStartButtonAnimation();
}
}
}