Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kf6-kitemmodels for openSUSE:Factory 
checked in at 2024-04-15 20:12:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kf6-kitemmodels (Old)
 and      /work/SRC/openSUSE:Factory/.kf6-kitemmodels.new.26366 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kf6-kitemmodels"

Mon Apr 15 20:12:06 2024 rev:2 rq:1167196 version:6.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kf6-kitemmodels/kf6-kitemmodels.changes  
2024-03-11 15:26:20.421662714 +0100
+++ 
/work/SRC/openSUSE:Factory/.kf6-kitemmodels.new.26366/kf6-kitemmodels.changes   
    2024-04-15 20:15:20.105654433 +0200
@@ -1,0 +2,9 @@
+Fri Apr  5 12:52:45 UTC 2024 - Christophe Marin <[email protected]>
+
+- Update to 6.1.0
+  * New feature release
+- Changes since 6.0.0:
+  * update version for new release
+  * Trivial fix for crash in buddy() when sourceModel isn't set yet
+
+-------------------------------------------------------------------

Old:
----
  kitemmodels-6.0.0.tar.xz
  kitemmodels-6.0.0.tar.xz.sig

New:
----
  kitemmodels-6.1.0.tar.xz
  kitemmodels-6.1.0.tar.xz.sig

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

Other differences:
------------------
++++++ kf6-kitemmodels.spec ++++++
--- /var/tmp/diff_new_pack.Ofqs2v/_old  2024-04-15 20:15:20.705676517 +0200
+++ /var/tmp/diff_new_pack.Ofqs2v/_new  2024-04-15 20:15:20.705676517 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package kf6-kitemmodels
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,14 +19,14 @@
 %define qt6_version 6.6.0
 
 %define rname kitemmodels
-# Full KF6 version (e.g. 6.0.0)
+# Full KF6 version (e.g. 6.1.0)
 %{!?_kf6_version: %global _kf6_version %{version}}
 # Last major and minor KF6 version (e.g. 6.0)
 %{!?_kf6_bugfix_version: %define _kf6_bugfix_version %(echo %{_kf6_version} | 
awk -F. '{print $1"."$2}')}
 %bcond_with python
 %bcond_without released
 Name:           kf6-kitemmodels
-Version:        6.0.0
+Version:        6.1.0
 Release:        0
 Summary:        Set of item models extending the Qt model-view framework
 License:        LGPL-2.1-or-later


++++++ kitemmodels-6.0.0.tar.xz -> kitemmodels-6.1.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kitemmodels-6.0.0/CMakeLists.txt 
new/kitemmodels-6.1.0/CMakeLists.txt
--- old/kitemmodels-6.0.0/CMakeLists.txt        2024-02-21 12:25:49.000000000 
+0100
+++ new/kitemmodels-6.1.0/CMakeLists.txt        2024-04-05 12:57:15.000000000 
+0200
@@ -1,10 +1,10 @@
 cmake_minimum_required(VERSION 3.16)
 
-set(KF_VERSION "6.0.0") # handled by release scripts
+set(KF_VERSION "6.1.0") # handled by release scripts
 project(KItemModels VERSION ${KF_VERSION})
 
 include(FeatureSummary)
-find_package(ECM 6.0.0 NO_MODULE)
+find_package(ECM 6.1.0 NO_MODULE)
 set_package_properties(ECM PROPERTIES
     TYPE REQUIRED
     DESCRIPTION "Extra CMake Modules."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kitemmodels-6.0.0/src/core/kextracolumnsproxymodel.cpp 
new/kitemmodels-6.1.0/src/core/kextracolumnsproxymodel.cpp
--- old/kitemmodels-6.0.0/src/core/kextracolumnsproxymodel.cpp  2024-02-21 
12:25:49.000000000 +0100
+++ new/kitemmodels-6.1.0/src/core/kextracolumnsproxymodel.cpp  2024-04-05 
12:57:15.000000000 +0200
@@ -123,9 +123,11 @@
 
 QModelIndex KExtraColumnsProxyModel::buddy(const QModelIndex &proxyIndex) const
 {
-    const int column = proxyIndex.column();
-    if (column >= sourceModel()->columnCount()) {
-        return proxyIndex;
+    if (sourceModel()) {
+        const int column = proxyIndex.column();
+        if (column >= sourceModel()->columnCount()) {
+            return proxyIndex;
+        }
     }
     return QIdentityProxyModel::buddy(proxyIndex);
 }

Reply via email to