2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Move automaticLoad() to DocumentMedia.

This commit is contained in:
John Preston
2020-04-10 18:19:43 +04:00
parent 40f12a2584
commit 1e9c79ca85
11 changed files with 72 additions and 60 deletions

View File

@@ -972,7 +972,7 @@ void Document::paint(Painter &p, const QRect &clip, TextSelection selection, con
const auto cornerDownload = downloadInCorner();
_data->automaticLoad(parent()->fullId(), parent());
_dataMedia->automaticLoad(parent()->fullId(), parent());
const auto loaded = dataLoaded();
const auto displayLoading = _data->displayLoading();