Add time unit in debug

This commit is contained in:
Atlante45 2015-08-31 23:24:14 +02:00
parent 3f5394281b
commit 0de4c02e8d

View file

@ -388,7 +388,7 @@ void Resource::handleReplyFinished() {
if (_attempts++ < MAX_ATTEMPTS) {
auto waitTime = BASE_DELAY_MS * (int)pow(2.0, _attempts);
qDebug().nospace() << "Retrying to load the asset in " << waitTime
<< ", attempt " << _attempts << " of " << MAX_ATTEMPTS;
<< "ms, attempt " << _attempts << " of " << MAX_ATTEMPTS;
QTimer::singleShot(waitTime, this, &Resource::attemptRequest);
break;
}