diff options
author | Dan Elkouby | 2020-06-06 10:43:41 +0300 |
---|---|---|
committer | Dan Elkouby | 2020-06-06 10:43:41 +0300 |
commit | 1b6cb16693d224c1eb7c895d189a537a2a0ebe3c (patch) | |
tree | 106d574c661e909c75679e5c89ca628805864ed9 /no_circles.patch | |
parent | cccb77ed76ce76fdb5288b10877fd2f3c2d7955f (diff) | |
download | aur-1b6cb16693d224c1eb7c895d189a537a2a0ebe3c.tar.gz |
Update to 2.1.10
Diffstat (limited to 'no_circles.patch')
-rw-r--r-- | no_circles.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/no_circles.patch b/no_circles.patch index 4d0a56d69928..27850f7ee42a 100644 --- a/no_circles.patch +++ b/no_circles.patch @@ -2,14 +2,14 @@ Description: changes all round pictures to rounded rectangles Credits: novie diff --git a/Telegram/SourceFiles/ui/image/image.cpp b/Telegram/SourceFiles/ui/image/image.cpp -index 559e0e9b5..24afa50e7 100644 +index 6fce4b879..df9229b02 100644 --- a/Telegram/SourceFiles/ui/image/image.cpp +++ b/Telegram/SourceFiles/ui/image/image.cpp -@@ -609,6 +609,7 @@ const QPixmap &Image::pixCircled( - Data::FileOrigin origin, - int32 w, - int32 h) const { -+ return pixRounded(origin, w, h, ImageRoundRadius::Large, RectPart::AllCorners); - checkSource(); +@@ -203,6 +203,7 @@ const QPixmap &Image::pixRounded( + } + const QPixmap &Image::pixCircled(int w, int h) const { ++ return pixRounded(w, h, ImageRoundRadius::Large, RectPart::AllCorners); if (w <= 0 || !width() || !height()) { + w = width(); + } else { |