[neon/kde/libksane/Neon/stable] debian/patches: add patch to fix https://bugs.kde.org/show_bug.cgi?id=494132

Jonathan Riddell null at kde.org
Mon Nov 11 15:08:42 GMT 2024


Git commit f4959c041dd0ffaa9015686316999f68cffa9376 by Jonathan Riddell.
Committed on 11/11/2024 at 15:08.
Pushed by jriddell into branch 'Neon/stable'.

add patch to fix https://bugs.kde.org/show_bug.cgi?id=494132
BUG: 494132

A  +13   -0    debian/patches/747d53159c137ca6d72a82e188c438424db602cc.diff
A  +1    -0    debian/patches/series

https://invent.kde.org/neon/kde/libksane/-/commit/f4959c041dd0ffaa9015686316999f68cffa9376

diff --git a/debian/patches/747d53159c137ca6d72a82e188c438424db602cc.diff b/debian/patches/747d53159c137ca6d72a82e188c438424db602cc.diff
new file mode 100644
index 0000000..279b1b9
--- /dev/null
+++ b/debian/patches/747d53159c137ca6d72a82e188c438424db602cc.diff
@@ -0,0 +1,13 @@
+diff --git a/src/selectionitem.cpp b/src/selectionitem.cpp
+index f00ec00267e742a634d64622ab769b8b7ef6b7c9..26afa919adc5139cc05b4fb6d4a8ffe8bad81f11 100644
+--- a/src/selectionitem.cpp
++++ b/src/selectionitem.cpp
+@@ -33,7 +33,7 @@ struct SelectionItem::Private {
+     qreal      invZoom;
+     qreal      selMargin;
+     QRectF     addRemRect;
+-    qreal      devicePixelRatio;
++    qreal      devicePixelRatio = 1.0;
+ 
+     bool       addButtonEnabled = true;
+ };
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..4af210f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+747d53159c137ca6d72a82e188c438424db602cc.diff


More information about the Neon-commits mailing list