[neon/kf6/kf6-ksvg/Neon/unstable] debian/patches: Revert "Bring in new patch from unstable."

Scarlett Moore null at kde.org
Thu Apr 25 18:18:18 BST 2024


Git commit d6c46f04ce9067c06646ec854c7bcfa9e8ff0af0 by Scarlett Moore.
Committed on 25/04/2024 at 16:49.
Pushed by scarlettmoore into branch 'Neon/unstable'.

Revert "Bring in new patch from unstable."

This reverts commit f191636101e26deb1618a3f6ce33ccceb9105cdf.

D  +0    -1    debian/patches/series
D  +0    -28   debian/patches/upstream_dont_call_update_on_missing_marginobject.patch

https://invent.kde.org/neon/kf6/kf6-ksvg/-/commit/d6c46f04ce9067c06646ec854c7bcfa9e8ff0af0

diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 5863dae..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-upstream_dont_call_update_on_missing_marginobject.patch
diff --git a/debian/patches/upstream_dont_call_update_on_missing_marginobject.patch b/debian/patches/upstream_dont_call_update_on_missing_marginobject.patch
deleted file mode 100644
index 3be9f7b..0000000
--- a/debian/patches/upstream_dont_call_update_on_missing_marginobject.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 81a7b3bbd43a4f1aae2e516380b0fd9f9b5f7ab0 Mon Sep 17 00:00:00 2001
-From: Kevin Ottens <kevin.ottens at enioka.com>
-Date: Thu, 25 Apr 2024 18:19:42 +0200
-Subject: [PATCH] Don't call update on missing marginObject
-
-The presence of the margin object was correctly checked for the updated
-value of m_oldMargins. But it was not evaluated before deciding to call
-update() which would lead to a crash.
----
- src/declarativeimports/framesvgitem.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/declarativeimports/framesvgitem.cpp b/src/declarativeimports/framesvgitem.cpp
-index 5f9b2b10..678bdcbe 100644
---- a/src/declarativeimports/framesvgitem.cpp
-+++ b/src/declarativeimports/framesvgitem.cpp
-@@ -313,7 +313,7 @@ public:
-         const QList<qreal> oldMarginsBefore = m_oldMargins;
-         m_oldMargins = m_marginsObject ? m_marginsObject->margins() : QList<qreal>();
- 
--        if (oldMarginsBefore != m_oldMargins) {
-+        if (m_marginsObject && oldMarginsBefore != m_oldMargins) {
-             m_marginsObject->update();
-         }
-     }
--- 
-GitLab
-


More information about the Neon-commits mailing list