Implement progressive jpeg loading and sending.

This commit is contained in:
John Preston
2020-08-26 17:28:56 +04:00
parent 0888901d79
commit 437c9320cd
22 changed files with 201 additions and 96 deletions
@@ -446,6 +446,7 @@ webFileLoader::webFileLoader(
session,
QString(),
0,
0,
UnknownFileLocation,
LoadToCacheAsWell,
fromCloud,
@@ -489,7 +490,7 @@ int webFileLoader::currentOffset() const {
}
void webFileLoader::loadProgress(qint64 ready, qint64 total) {
_size = total;
_fullSize = _loadSize = total;
_ready = ready;
notifyAboutProgress();
}