mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 16:41:02 +02:00
use noquote so URLs are not quoted
This commit is contained in:
parent
19702a9cd4
commit
5ea8b83745
1 changed files with 2 additions and 2 deletions
|
@ -520,7 +520,7 @@ void Resource::attemptRequest() {
|
||||||
_startedLoading = true;
|
_startedLoading = true;
|
||||||
|
|
||||||
if (_attempts > 0) {
|
if (_attempts > 0) {
|
||||||
qCDebug(networking) << "Server unavailable for" << _url
|
qCDebug(networking).noquote() << "Server unavailable for" << _url
|
||||||
<< "- retrying asset load - attempt" << _attempts << " of " << MAX_ATTEMPTS;
|
<< "- retrying asset load - attempt" << _attempts << " of " << MAX_ATTEMPTS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -614,7 +614,7 @@ void Resource::handleReplyFinished() {
|
||||||
if (_attempts++ < MAX_ATTEMPTS) {
|
if (_attempts++ < MAX_ATTEMPTS) {
|
||||||
auto waitTime = BASE_DELAY_MS * (int)pow(2.0, _attempts);
|
auto waitTime = BASE_DELAY_MS * (int)pow(2.0, _attempts);
|
||||||
|
|
||||||
qCDebug(networking) << "Server unavailable for" << _url << "- may retry in" << waitTime << "ms"
|
qCDebug(networking).noquote() << "Server unavailable for" << _url << "- may retry in" << waitTime << "ms"
|
||||||
<< "if resource is still needed";
|
<< "if resource is still needed";
|
||||||
|
|
||||||
QTimer::singleShot(waitTime, this, &Resource::attemptRequest);
|
QTimer::singleShot(waitTime, this, &Resource::attemptRequest);
|
||||||
|
|
Loading…
Reference in a new issue