mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-03 07:56:03 +00:00
Move photo data to Data::PhotoMedia.
This commit is contained in:
@@ -946,14 +946,6 @@ QImage Image::original() const {
|
||||
return _data;
|
||||
}
|
||||
|
||||
void Image::automaticLoad(
|
||||
Data::FileOrigin origin,
|
||||
const HistoryItem *item) {
|
||||
if (!loaded()) {
|
||||
_source->automaticLoad(origin, item);
|
||||
}
|
||||
}
|
||||
|
||||
void Image::load(Data::FileOrigin origin) {
|
||||
if (!loaded()) {
|
||||
_source->load(origin);
|
||||
|
Reference in New Issue
Block a user