summaryrefslogtreecommitdiff
path: root/kde-frameworks/kirigami/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-06-15 14:57:03 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-06-15 14:57:03 +0100
commitd18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c (patch)
tree4a95cbc6ffdf13bad6ecbc7f8d5af99631984123 /kde-frameworks/kirigami/files
parente748ba9741f6540f4675c23e3e37b73e822c13a4 (diff)
gentoo resync : 15.06.2021
Diffstat (limited to 'kde-frameworks/kirigami/files')
-rw-r--r--kde-frameworks/kirigami/files/kirigami-5.80.0-fix-crash-in-SizeGroup.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/kde-frameworks/kirigami/files/kirigami-5.80.0-fix-crash-in-SizeGroup.patch b/kde-frameworks/kirigami/files/kirigami-5.80.0-fix-crash-in-SizeGroup.patch
deleted file mode 100644
index 7d13d2fa1bfa..000000000000
--- a/kde-frameworks/kirigami/files/kirigami-5.80.0-fix-crash-in-SizeGroup.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 29dabab2f536827bc1ecec63f5a0b0a76f0809e5 Mon Sep 17 00:00:00 2001
-From: David Edmundson <kde@davidedmundson.co.uk>
-Date: Tue, 9 Mar 2021 14:30:44 +0000
-Subject: [PATCH] Fix potential crash in SizeGroup
-
-SizeGroup keeps a cache of a list of items, and when one updates does
-calculations based on all items.
-
-This list is stored as a list of QPointers as we don't explicitly track
-deletion.
-
-We have a list of items and guard for deletion, but they're QML owned.
-So there's a point in time when it's pending deletion with the garbage
-collector but the lower level object isn't managed by an engine.
-
-As we go via QQmlProperty(item, QStringLiteral("Layout.preferredWidth"),
-qmlContext(item)).write(maxWidth) this is problematic.
-
-BUG: 434079
----
- src/sizegroup.cpp | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/src/sizegroup.cpp b/src/sizegroup.cpp
-index 2035b6eb..a9a0ebf8 100644
---- a/src/sizegroup.cpp
-+++ b/src/sizegroup.cpp
-@@ -98,6 +98,10 @@ void SizeGroup::adjustItems(Mode whatChanged)
- continue;
- }
-
-+ if (!qmlEngine(item)) {
-+ continue;
-+ }
-+
- switch (m_mode) {
- case Mode::Width:
- QQmlProperty(item, QStringLiteral("Layout.preferredWidth"), qmlContext(item)).write(maxWidth);
---
-GitLab
-