[SCM] kcmutils packaging branch, master, updated. debian/5.28.0-1-4-g0752bec

Maximiliano Curia maxy at moszumanska.debian.org
Thu Mar 30 12:46:33 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/frameworks/kcmutils.git;a=commitdiff;h=d2381bc

The following commit has been merged in the master branch:
commit d2381bc1f5a020f11efcc37385884c1aa9b6a07e
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date:   Thu Mar 30 14:10:08 2017 +0200

    Add new upstream patch: KCModuleQML-Pass-the-window-as-context-for-paletteChanged.patch
---
 ...-the-window-as-context-for-paletteChanged.patch | 26 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 27 insertions(+)

diff --git a/debian/patches/KCModuleQML-Pass-the-window-as-context-for-paletteChanged.patch b/debian/patches/KCModuleQML-Pass-the-window-as-context-for-paletteChanged.patch
new file mode 100644
index 0000000..f68bf44
--- /dev/null
+++ b/debian/patches/KCModuleQML-Pass-the-window-as-context-for-paletteChanged.patch
@@ -0,0 +1,26 @@
+From: Kai Uwe Broulik <kde at privat.broulik.de>
+Date: Wed, 8 Feb 2017 12:13:07 +0100
+Subject: [KCModuleQML] Pass the window as context for paletteChanged
+
+This disconnects the connection when the window goes away otherwise it might crash.
+
+CHANGELOG: Fixed potential crash in QML KCMs when application palette changes
+
+Differential Revision: https://phabricator.kde.org/D4493
+---
+ src/kcmoduleqml.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/kcmoduleqml.cpp b/src/kcmoduleqml.cpp
+index a7c23aa..a36d339 100644
+--- a/src/kcmoduleqml.cpp
++++ b/src/kcmoduleqml.cpp
+@@ -111,7 +111,7 @@ void KCModuleQml::showEvent(QShowEvent *event)
+     widget->setResizeMode(QQuickWidget::SizeRootObjectToView);
+     d->quickWindow = widget->quickWindow();
+     d->quickWindow->setColor(QGuiApplication::palette().window().color());
+-    connect(qApp, &QGuiApplication::paletteChanged, [=]() {
++    connect(qApp, &QGuiApplication::paletteChanged, d->quickWindow, [=]() {
+         d->quickWindow->setColor(QGuiApplication::palette().window().color());
+     });
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ae73ebf
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+KCModuleQML-Pass-the-window-as-context-for-paletteChanged.patch

-- 
kcmutils packaging



More information about the pkg-kde-commits mailing list