mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Remove legacy image-related code.
This commit is contained in:
@@ -630,9 +630,7 @@ void ChooseFromFile(
|
||||
}
|
||||
auto local = Data::CustomWallPaper();
|
||||
local.setLocalImageAsThumbnail(std::make_shared<Image>(
|
||||
std::make_unique<Images::ImageSource>(
|
||||
std::move(image),
|
||||
"JPG")));
|
||||
std::make_unique<Images::ImageSource>(std::move(image))));
|
||||
Ui::show(Box<BackgroundPreviewBox>(session, local));
|
||||
});
|
||||
FileDialog::GetOpenPath(
|
||||
|
Reference in New Issue
Block a user