2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Replaced using of QPixmap in photo editor with Image.

This commit is contained in:
23rd
2021-02-20 07:27:10 +03:00
parent 3ce315111f
commit 671a06c407
7 changed files with 27 additions and 25 deletions

View File

@@ -45,7 +45,7 @@ constexpr auto kPrecision = 100000;
PhotoEditor::PhotoEditor(
not_null<Ui::RpWidget*> parent,
std::shared_ptr<QPixmap> photo,
std::shared_ptr<Image> photo,
PhotoModifications modifications)
: RpWidget(parent)
, _modifications(std::move(modifications))