mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 06:03:26 +02:00
Remove unused variable
This commit is contained in:
parent
1b2593fd26
commit
5cf2041c65
1 changed files with 0 additions and 2 deletions
|
@ -216,8 +216,6 @@ void AssetResourceRequest::onDownloadProgress(qint64 bytesReceived, qint64 bytes
|
||||||
if (bytesReceived != bytesTotal
|
if (bytesReceived != bytesTotal
|
||||||
&& now - _lastProgressDebug > std::chrono::seconds(DOWNLOAD_PROGRESS_LOG_INTERVAL_SECONDS)) {
|
&& now - _lastProgressDebug > std::chrono::seconds(DOWNLOAD_PROGRESS_LOG_INTERVAL_SECONDS)) {
|
||||||
|
|
||||||
int percentage = roundf((float) bytesReceived / (float) bytesTotal * 100.0f);
|
|
||||||
|
|
||||||
_lastProgressDebug = now;
|
_lastProgressDebug = now;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue