Hello community,

here is the log from the commit of package libyui-qt for openSUSE:Factory 
checked in at 2017-02-10 09:47:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libyui-qt (Old)
 and      /work/SRC/openSUSE:Factory/.libyui-qt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libyui-qt"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libyui-qt/libyui-qt.changes      2016-11-23 
13:35:47.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libyui-qt.new/libyui-qt.changes 2017-02-10 
09:47:39.453446804 +0100
@@ -1,0 +2,7 @@
+Sun Feb  5 14:43:49 CET 2017 - besse...@fedoraproject.org
+
+- Fix crash when shutting down the UI (gh#libyui-libyui-qt#41, bsc#931762)
+- Fix a problem with hanging UI
+- 2.47.1
+
+-------------------------------------------------------------------

Old:
----
  libyui-qt-2.47.0.tar.bz2

New:
----
  libyui-qt-2.47.1.tar.bz2

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

Other differences:
------------------
++++++ libyui-qt-doc.spec ++++++
--- /var/tmp/diff_new_pack.I4V44I/_old  2017-02-10 09:47:39.861389016 +0100
+++ /var/tmp/diff_new_pack.I4V44I/_new  2017-02-10 09:47:39.865388450 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libyui-qt-doc
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
 %define so_version 7
 
 Name:           %{parent}-doc
-Version:        2.47.0
+Version:        2.47.1
 Release:        0
 Source:         %{parent}-%{version}.tar.bz2
 

++++++ libyui-qt.spec ++++++
--- /var/tmp/diff_new_pack.I4V44I/_old  2017-02-10 09:47:39.889385051 +0100
+++ /var/tmp/diff_new_pack.I4V44I/_new  2017-02-10 09:47:39.893384484 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libyui-qt
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           libyui-qt
-Version:        2.47.0
+Version:        2.47.1
 Release:        0
 Source:         %{name}-%{version}.tar.bz2
 

++++++ libyui-qt-2.47.0.tar.bz2 -> libyui-qt-2.47.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-2.47.0/VERSION.cmake 
new/libyui-qt-2.47.1/VERSION.cmake
--- old/libyui-qt-2.47.0/VERSION.cmake  2016-11-21 15:49:12.940253019 +0100
+++ new/libyui-qt-2.47.1/VERSION.cmake  2017-02-06 14:29:10.122466178 +0100
@@ -1,6 +1,6 @@
 SET(VERSION_MAJOR "2")
 SET(VERSION_MINOR "47")
-SET(VERSION_PATCH "0")
+SET(VERSION_PATCH "1")
 SET( VERSION 
"${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}${GIT_SHA1_VERSION}" )
 
 ##### This is need for the libyui core, ONLY.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-2.47.0/package/libyui-qt-doc.spec 
new/libyui-qt-2.47.1/package/libyui-qt-doc.spec
--- old/libyui-qt-2.47.0/package/libyui-qt-doc.spec     2016-11-21 
15:49:12.952253019 +0100
+++ new/libyui-qt-2.47.1/package/libyui-qt-doc.spec     2017-02-06 
14:29:10.122466178 +0100
@@ -20,7 +20,7 @@
 %define so_version 7
 
 Name:           %{parent}-doc
-Version:        2.47.0
+Version:        2.47.1
 Release:        0
 Source:         %{parent}-%{version}.tar.bz2
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-2.47.0/package/libyui-qt.changes 
new/libyui-qt-2.47.1/package/libyui-qt.changes
--- old/libyui-qt-2.47.0/package/libyui-qt.changes      2016-11-21 
15:49:12.956253019 +0100
+++ new/libyui-qt-2.47.1/package/libyui-qt.changes      2017-02-06 
14:29:10.122466178 +0100
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Sun Feb  5 14:43:49 CET 2017 - besse...@fedoraproject.org
+
+- Fix crash when shutting down the UI (gh#libyui-libyui-qt#41, bsc#931762)
+- Fix a problem with hanging UI
+- 2.47.1
+
+-------------------------------------------------------------------
 Wed Nov  9 16:56:49 UTC 2016 - c...@suse.com
 
 - Add handler for Shift-F1 to show advanced keyboard shortcuts (bsc#1010039)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-2.47.0/package/libyui-qt.spec 
new/libyui-qt-2.47.1/package/libyui-qt.spec
--- old/libyui-qt-2.47.0/package/libyui-qt.spec 2016-11-21 15:49:12.956253019 
+0100
+++ new/libyui-qt-2.47.1/package/libyui-qt.spec 2017-02-06 14:29:10.122466178 
+0100
@@ -17,7 +17,7 @@
 
 
 Name:           libyui-qt
-Version:        2.47.0
+Version:        2.47.1
 Release:        0
 Source:         %{name}-%{version}.tar.bz2
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-2.47.0/src/YQReplacePoint.cc 
new/libyui-qt-2.47.1/src/YQReplacePoint.cc
--- old/libyui-qt-2.47.0/src/YQReplacePoint.cc  2016-11-21 15:49:13.196253019 
+0100
+++ new/libyui-qt-2.47.1/src/YQReplacePoint.cc  2017-02-06 14:29:10.138466178 
+0100
@@ -42,10 +42,21 @@
 {
     YWidget * child = firstChild();
 
+    /* This needs to be done so the UI won't crash if the are no children. */
     if ( child )
     {
-       QWidget * qChild = (QWidget *) child->widgetRep();
-       qChild->show();
+        QWidget * qChild = (QWidget *) child->widgetRep();
+        qChild->show();
+
+        /* Refresh the whole UI so it doesn't get stalled in some situations. 
*/
+        for ( YWidgetListConstIterator it = child->childrenBegin(); it != 
child->childrenEnd(); ++it )
+        {
+            YWidget *ch = *it;
+            QWidget * qChild = (QWidget *)ch->widgetRep();
+            qChild->show();
+        }
+        qChild = (QWidget *) this->widgetRep();
+        qChild->show();
     }
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-2.47.0/src/YQUI.cc 
new/libyui-qt-2.47.1/src/YQUI.cc
--- old/libyui-qt-2.47.0/src/YQUI.cc    2016-11-21 15:49:13.244253019 +0100
+++ new/libyui-qt-2.47.1/src/YQUI.cc    2017-02-06 14:29:10.138466178 +0100
@@ -345,7 +345,7 @@
     if ( qApp ) // might already be reset to 0 internally from Qt
     {
        qApp->exit();
-       delete qApp;
+       qApp->deleteLater();
     }
 
     delete _signalReceiver;
@@ -356,8 +356,8 @@
 {
     if ( qApp ) // might already be reset to 0 internally from Qt
     {
-        qApp->exit();
-        delete qApp;
+       qApp->exit();
+       qApp->deleteLater();
     }
 }
 


Reply via email to