timeoutDialog gets duration from server

This commit is contained in:
doitux
2008-03-03 23:43:51 +00:00
parent c2313a20d6
commit 99b3f6b147
6 changed files with 11 additions and 8 deletions
@@ -42,7 +42,7 @@ void timeoutMsgBoxImpl::startTimeout() {
void timeoutMsgBoxImpl::timerRefresh() {
int sec = 60;
int sec = timeoutDuration;
unsigned int realTimerValue = realTimer.elapsed().total_milliseconds();
sec -= realTimerValue/1000;
if (sec < 0) sec = 0;