add timout warning in ranking game dialog
This commit is contained in:
1 parent
76dd9a0289
commit
af101c4fce
8 files changed
+24
-6
No files matched your search
@@ -1552,7 +1552,7 @@ void gameLobbyDialogImpl::showAutoStartTimer()
|
||||
autoStartTimerOverlay->setGeometry(((scrollArea_gameInfos->geometry().width()-190)/2), ((scrollArea_gameInfos->geometry().height()-50)/2), 190, 50);
|
||||
|
||||
QString string(tr("The game will start in<br><b>%1</b> seconds.").arg(6));
|
||||
autoStartTimerOverlay->setText("<span style='font-size:9pt;'>"+string+"</span>");
|
||||
autoStartTimerOverlay->setText("<span style='color:#008B00; font-size:9pt;'>"+string+"</span>");
|
||||
autoStartTimerCounter = 6;
|
||||
autoStartTimer->start(1000);
|
||||
|
||||
@@ -1563,7 +1563,7 @@ void gameLobbyDialogImpl::updateAutoStartTimer()
|
||||
--autoStartTimerCounter;
|
||||
if(autoStartTimerCounter) {
|
||||
QString string(tr("The game will start in<br><b>%1</b> seconds.").arg(autoStartTimerCounter));
|
||||
autoStartTimerOverlay->setText("<span style='font-size:9pt;'>"+string+"</span>");
|
||||
autoStartTimerOverlay->setText("<span style='color:#008B00; font-size:9pt;'>"+string+"</span>");
|
||||
}
|
||||
else {
|
||||
autoStartTimer->stop();
|
||||
|
||||
Reference in new issue
Block a user