diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-02-13 20:20:22 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-02-13 22:26:36 +0100 |
commit | a6e4eefd7653df1140fe0a58cd25447afd3570fb (patch) | |
tree | 70bc46671ec2a5ddd94a4a9249030f5b5001b08e /kde-frameworks/plasma/files | |
parent | app-crypt/qca: 2.2.90 version bump, no KEYWORDS (diff) | |
download | gentoo-a6e4eefd7653df1140fe0a58cd25447afd3570fb.tar.gz gentoo-a6e4eefd7653df1140fe0a58cd25447afd3570fb.tar.bz2 gentoo-a6e4eefd7653df1140fe0a58cd25447afd3570fb.zip |
kde-frameworks/plasma: Fix systemsettings crashes
KDE-Bug: https://bugs.kde.org/show_bug.cgi?id=417548
Thanks-to: Julien Delquié <julien.dlq@gmail.com>
Tested-by: Lars Wendler <polynomial-c@gentoo.org>
Closes: https://bugs.gentoo.org/709484
Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/plasma/files')
-rw-r--r-- | kde-frameworks/plasma/files/plasma-5.67.0-construct-nullengine-w-KPluginMetadata.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/kde-frameworks/plasma/files/plasma-5.67.0-construct-nullengine-w-KPluginMetadata.patch b/kde-frameworks/plasma/files/plasma-5.67.0-construct-nullengine-w-KPluginMetadata.patch new file mode 100644 index 000000000000..333010933193 --- /dev/null +++ b/kde-frameworks/plasma/files/plasma-5.67.0-construct-nullengine-w-KPluginMetadata.patch @@ -0,0 +1,29 @@ +From 1dc36bc2cee489e621a52fb4456ff28cf6a64685 Mon Sep 17 00:00:00 2001 +From: Kai Uwe Broulik <kde@privat.broulik.de> +Date: Thu, 13 Feb 2020 15:21:22 +0100 +Subject: Construct NullEngine with KPluginMetaData() + +The deprecated constructor taking a KPluginInfo unconditionally calls toMetaData() and then asserts. + +BUG: 417548 + +Differential Revision: https://phabricator.kde.org/D27366 +--- + src/plasma/private/dataenginemanager.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/plasma/private/dataenginemanager.cpp b/src/plasma/private/dataenginemanager.cpp +index 221440c..852c17a 100644 +--- a/src/plasma/private/dataenginemanager.cpp ++++ b/src/plasma/private/dataenginemanager.cpp +@@ -40,7 +40,7 @@ class NullEngine : public DataEngine + { + public: + explicit NullEngine(QObject *parent = nullptr) +- : DataEngine(KPluginInfo(), parent) ++ : DataEngine(KPluginMetaData(), parent) + { + setValid(false); + +-- +cgit v1.1 |