Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2017-09-04 12:18:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and      /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libqt5-qtbase"

Mon Sep  4 12:18:42 2017 rev:65 rq:519305 version:5.9.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes      
2017-08-29 11:40:08.757606360 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2017-09-04 12:18:43.891904719 +0200
@@ -1,0 +2,6 @@
+Tue Aug 29 10:46:47 UTC 2017 - fab...@ritter-vogt.de
+
+- Add patch to fix runtime changes to the palette:
+  * qapplication-emit-palettechanged.patch
+
+-------------------------------------------------------------------

New:
----
  qapplication-emit-palettechanged.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libqt5-qtbase.spec ++++++
--- /var/tmp/diff_new_pack.42S4Uu/_old  2017-09-04 12:18:46.507537010 +0200
+++ /var/tmp/diff_new_pack.42S4Uu/_new  2017-09-04 12:18:46.515535884 +0200
@@ -64,6 +64,8 @@
 Patch15:        force-cmake-private-headers.patch
 # PATCH-FIX-OPENSUSE
 Patch16:       dont-abort-missing-display.patch
+# PATCH-FIX-UPSTREAM
+Patch17:       qapplication-emit-palettechanged.patch
 # patches 1000-2000 and above from upstream 5.9 branch #
 # patches 2000-3000 and above from upstream 5.10/dev branch #
 Patch2000:     0001-QSslSocket-OpenSSL-1.1-backend.patch
@@ -156,6 +158,7 @@
 %patch14 -p1
 %patch15 -p1
 %patch16 -p1
+%patch17 -p1
 %patch2000 -p1
 
 # be sure not to use them

++++++ qapplication-emit-palettechanged.patch ++++++
>From edc101a8d8adf29dc62dd5b64becaef972a45830 Mon Sep 17 00:00:00 2001
From: Kai Uwe Broulik <k...@privat.broulik.de>
Date: Mon, 9 Jan 2017 15:17:54 +0100
Subject: [PATCH] QApplication: Emit paletteChanged signal

This signal was added to QGuiApplication and QGuiApplication::setPalette.
Since this function is static QApplication has its own distinct implementation
which never emitted this signal. This results in items, such as QtQuick
SystemPalette, which listen to paletteChanged to not update when using
a QApplication.

Change-Id: I2b8108693743ec57934391025424ec9fee1c9c21
---
 src/widgets/kernel/qapplication.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/widgets/kernel/qapplication.cpp 
b/src/widgets/kernel/qapplication.cpp
index ef046f3e..045d3f7 100644
--- a/src/widgets/kernel/qapplication.cpp
+++ b/src/widgets/kernel/qapplication.cpp
@@ -1514,6 +1514,7 @@ void QApplicationPrivate::setPalette_helper(const 
QPalette &palette, const char*
         else
             *QApplicationPrivate::set_pal = palette;
         QCoreApplication::setAttribute(Qt::AA_SetPalette);
+        emit qApp->paletteChanged(*QApplicationPrivate::set_pal);
     }
 }
 
-- 
2.7.4


Reply via email to