summaryrefslogtreecommitdiff
path: root/kde-frameworks/knewstuff/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-22 18:05:24 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-22 18:05:24 +0100
commitcf59cc78468c9bcfef9e16b7b27c115896d805fd (patch)
treeb46b602c381e3a5e35654cf39e71673c96e49362 /kde-frameworks/knewstuff/files
parent5b52b99ca475070991d8e8d1dff674ffe6ffdea9 (diff)
gentoo auto-resync : 22:04:2023 - 18:05:23
Diffstat (limited to 'kde-frameworks/knewstuff/files')
-rw-r--r--kde-frameworks/knewstuff/files/knewstuff-5.102.0-fix-crash-in-QQuickQuestionListener.patch55
1 files changed, 0 insertions, 55 deletions
diff --git a/kde-frameworks/knewstuff/files/knewstuff-5.102.0-fix-crash-in-QQuickQuestionListener.patch b/kde-frameworks/knewstuff/files/knewstuff-5.102.0-fix-crash-in-QQuickQuestionListener.patch
deleted file mode 100644
index 00bafeb28b93..000000000000
--- a/kde-frameworks/knewstuff/files/knewstuff-5.102.0-fix-crash-in-QQuickQuestionListener.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-From c8e5b36e190f8b71ac14e3afd403debdbe3cf9a8 Mon Sep 17 00:00:00 2001
-From: David Edmundson <kde@davidedmundson.co.uk>
-Date: Sun, 29 Jan 2023 13:33:09 +0000
-Subject: [PATCH] Fix crash in QQuickQuestionListener
-
-The code path is:
- - we create a Question object
- - we show a prompt
- - we start a nested event loop to get this into a syncronous API
- - we return the result to the question object
-
-The lifespan of the question object is not controlled by the listener,
-during the nested event loop anything could have happened including
-deletion.
-
-BUG: 464624
-
-
-(cherry picked from commit e9e0e3faa986757ba096dbe599468f395b3461d3)
----
- src/qtquick/quickquestionlistener.cpp | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/src/qtquick/quickquestionlistener.cpp b/src/qtquick/quickquestionlistener.cpp
-index 81123b33..f760ef39 100644
---- a/src/qtquick/quickquestionlistener.cpp
-+++ b/src/qtquick/quickquestionlistener.cpp
-@@ -10,6 +10,7 @@
- #include "core/question.h"
-
- #include <QCoreApplication>
-+#include <QPointer>
-
- using namespace KNewStuffQuick;
-
-@@ -35,7 +36,7 @@ public:
- Private()
- {
- }
-- KNSCore::Question *question = nullptr;
-+ QPointer<KNSCore::Question> question;
- };
-
- QuickQuestionListener *QuickQuestionListener::instance()
-@@ -117,6 +118,6 @@ void KNewStuffQuick::QuickQuestionListener::passResponse(bool responseIsContinue
- break;
- }
- }
-- d->question = nullptr;
-+ d->question.clear();
- }
- }
---
-GitLab
-