From 5c8f02fa9dc2f3319efcf12aa251f12c5b1b918a Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Thu, 17 Nov 2022 17:49:42 -0600 Subject: [PATCH] Remove reverse-applicable patch. --- debian/changelog | 1 + .../fix-repainting-cached-images.patch | 27 ------------------- debian/patches/series | 1 - 3 files changed, 1 insertion(+), 28 deletions(-) delete mode 100644 debian/patches/fix-repainting-cached-images.patch delete mode 100644 debian/patches/series diff --git a/debian/changelog b/debian/changelog index aeefda5..50afaea 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,7 @@ lximage-qt (1.2.0-0ubuntu1) UNRELEASED; urgency=medium * Fix the watch file, for real this time. * Lubuntuify the package slightly, to make debhelper happy. * Bump build dependencies in debian/control. + * Remove reverse-applicable patch. -- Simon Quigley Thu, 17 Nov 2022 17:43:52 -0600 diff --git a/debian/patches/fix-repainting-cached-images.patch b/debian/patches/fix-repainting-cached-images.patch deleted file mode 100644 index e1ac30f..0000000 --- a/debian/patches/fix-repainting-cached-images.patch +++ /dev/null @@ -1,27 +0,0 @@ -From a526f1b0fcfe1d15368c1d3fdf4676c40fb8524d Mon Sep 17 00:00:00 2001 -From: tsujan -Date: Tue, 21 Jun 2022 01:14:55 +0430 -Subject: [PATCH] Fixed repainting of cached images (#558) - -Previously, the cached pixmap was drawn inside the repaint rectangle. That was wrong because there's no guarantee that the repaint rectangle is as big as the cached pixmap (e.g., it isn't so when the toolbar extension popup covers a part of the image and slides back). Therefore, visual glitches were imminent in special cases. - -This patch draws the cached pixmap inside its corresponding cache rectangle, so that the image is always repainted correctly. The paint clipping is done by Qt automatically, as QPaintEvent's doc explains. - -Fixes https://github.com/lxqt/lximage-qt/issues/557 ---- - src/imageview.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/imageview.cpp b/src/imageview.cpp -index 4a0c6b2..aa13393 100644 ---- a/src/imageview.cpp -+++ b/src/imageview.cpp -@@ -630,7 +630,7 @@ void ImageView::paintEvent(QPaintEvent* event) { - if(cachedRect_.contains(repaintImageRect)) { - QPainter painter(viewport()); - painter.fillRect(event->rect(), backgroundBrush()); -- painter.drawPixmap(repaintImageRect, cachedPixmap_); -+ painter.drawPixmap(cachedRect_, cachedPixmap_); - // outline - if(showOutline_) { - QColor col = QColor(Qt::black); diff --git a/debian/patches/series b/debian/patches/series deleted file mode 100644 index 111c98a..0000000 --- a/debian/patches/series +++ /dev/null @@ -1 +0,0 @@ -fix-repainting-cached-images.patch