mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
Remove legacy image-related code.
This commit is contained in:
@@ -358,8 +358,6 @@ void Photo::paint(Painter &p, const QRect &clip, TextSelection selection, const
|
||||
}
|
||||
|
||||
void Photo::setPixFrom(not_null<Image*> image) {
|
||||
Expects(image->loaded());
|
||||
|
||||
const auto size = _width * cIntRetinaFactor();
|
||||
auto img = image->original();
|
||||
if (!_goodLoaded) {
|
||||
|
Reference in New Issue
Block a user