Hello community,

here is the log from the commit of package kitemmodels for openSUSE:Factory 
checked in at 2016-10-28 12:21:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kitemmodels (Old)
 and      /work/SRC/openSUSE:Factory/.kitemmodels.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kitemmodels"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kitemmodels/kitemmodels.changes  2016-09-14 
23:24:52.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kitemmodels.new/kitemmodels.changes     
2016-10-28 12:21:12.000000000 +0200
@@ -1,0 +2,7 @@
+Sun Oct  2 12:56:35 UTC 2016 - hrvoje.sen...@gmail.com
+
+- Update to 5.27.0
+  * For more details please see:
+    https://www.kde.org/announcements/kde-frameworks-5.27.0.php
+
+-------------------------------------------------------------------

Old:
----
  kitemmodels-5.26.0.tar.xz

New:
----
  kitemmodels-5.27.0.tar.xz

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

Other differences:
------------------
++++++ kitemmodels.spec ++++++
--- /var/tmp/diff_new_pack.Uj1jph/_old  2016-10-28 12:21:13.000000000 +0200
+++ /var/tmp/diff_new_pack.Uj1jph/_new  2016-10-28 12:21:13.000000000 +0200
@@ -17,9 +17,9 @@
 
 
 %define lname   libKF5ItemModels5
-%define _tar_path 5.26
+%define _tar_path 5.27
 Name:           kitemmodels
-Version:        5.26.0
+Version:        5.27.0
 Release:        0
 BuildRequires:  cmake >= 2.8.12
 BuildRequires:  extra-cmake-modules >= %{_tar_path}

++++++ kitemmodels-5.26.0.tar.xz -> kitemmodels-5.27.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kitemmodels-5.26.0/CMakeLists.txt 
new/kitemmodels-5.27.0/CMakeLists.txt
--- old/kitemmodels-5.26.0/CMakeLists.txt       2016-09-06 00:36:46.000000000 
+0200
+++ new/kitemmodels-5.27.0/CMakeLists.txt       2016-10-02 10:02:34.000000000 
+0200
@@ -3,7 +3,7 @@
 project(KItemModels)
 
 include(FeatureSummary)
-find_package(ECM 5.26.0  NO_MODULE)
+find_package(ECM 5.27.0  NO_MODULE)
 set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake 
Modules." URL 
"https://projects.kde.org/projects/kdesupport/extra-cmake-modules";)
 feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND 
FATAL_ON_MISSING_REQUIRED_PACKAGES)
 
@@ -23,7 +23,7 @@
 include(ECMSetupVersion)
 include(ECMGenerateHeaders)
 
-set(KF5_VERSION "5.26.0") # handled by release scripts
+set(KF5_VERSION "5.27.0") # handled by release scripts
 
 ecm_setup_version(${KF5_VERSION} VARIABLE_PREFIX KITEMMODELS
                         VERSION_HEADER 
"${CMAKE_CURRENT_BINARY_DIR}/kitemmodels_version.h"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kitemmodels-5.26.0/autotests/klinkitemselectionmodeltest.cpp 
new/kitemmodels-5.27.0/autotests/klinkitemselectionmodeltest.cpp
--- old/kitemmodels-5.26.0/autotests/klinkitemselectionmodeltest.cpp    
2016-09-06 00:36:46.000000000 +0200
+++ new/kitemmodels-5.27.0/autotests/klinkitemselectionmodeltest.cpp    
2016-10-02 10:02:34.000000000 +0200
@@ -108,7 +108,6 @@
 
 void KLinkItemSelectionModelTest::testChangeModel()
 {
-#if QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)
     QVERIFY(m_mainSelectionModel->selection().isEmpty());
 
     {
@@ -130,12 +129,10 @@
 
     QVERIFY(m_mainSelectionModel->selection().isEmpty());
     QVERIFY(m_subSelectionModel->selection().isEmpty());
-#endif
 }
 
 void KLinkItemSelectionModelTest::testChangeModelOfExternal()
 {
-#if QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)
     QVERIFY(m_mainSelectionModel->selection().isEmpty());
 
     {
@@ -157,7 +154,6 @@
 
     QVERIFY(m_mainSelectionModel->selection().isEmpty());
     QVERIFY(m_subSelectionModel->selection().isEmpty());
-#endif
 }
 
 void KLinkItemSelectionModelTest::testChangeLinkedSelectionModel()
@@ -190,7 +186,6 @@
 
 void KLinkItemSelectionModelTest::testAdditionalLink()
 {
-#if QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)
     {
     auto idx = m_mainModel->index(6, 0);
     m_mainSelectionModel->select(idx, QItemSelectionModel::Select);
@@ -229,7 +224,6 @@
     QVERIFY(!m_subSelectionModel->selection().isEmpty());
     QCOMPARE(m_mainSelectionModel->selection().indexes().first().row(), 7);
     QCOMPARE(m_subSelectionModel->selection().indexes().first().row(), 2);
-#endif
 }
 
 void KLinkItemSelectionModelTest::testClearSelection()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kitemmodels-5.26.0/autotests/kselectionproxymodeltest.cpp 
new/kitemmodels-5.27.0/autotests/kselectionproxymodeltest.cpp
--- old/kitemmodels-5.26.0/autotests/kselectionproxymodeltest.cpp       
2016-09-06 00:36:46.000000000 +0200
+++ new/kitemmodels-5.27.0/autotests/kselectionproxymodeltest.cpp       
2016-10-02 10:02:34.000000000 +0200
@@ -54,11 +54,9 @@
   void removeRows_data();
   void removeRows();
 
-#if QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)
   void selectionModelModelChange();
   void deselection_data();
   void deselection();
-#endif
 
 private:
   const QStringList days;
@@ -122,7 +120,6 @@
   QVERIFY(selectionModel.selection().contains(strings.index(2, 0)));
 }
 
-#if QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)
 void KSelectionProxyModelTest::selectionModelModelChange()
 {
   QStringListModel strings(days);
@@ -382,8 +379,6 @@
     QCOMPARE(proxy.rowCount(), expectedRowCountAfter);
 }
 
-#endif
-
 void KSelectionProxyModelTest::removeRows_data()
 {
   QTest::addColumn<int>("kspm_mode");
@@ -842,11 +837,7 @@
                 );
     resetCommand.doCommand();
 
-#if QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)
     QItemSelectionModel selectionModel;
-#else
-    QItemSelectionModel selectionModel(&tree);
-#endif
 
     if (emulateSingleSelectionMode)
     {
@@ -866,19 +857,13 @@
     
proxy.setFilterBehavior(static_cast<KSelectionProxyModel::FilterBehavior>(kspm_mode));
 
     if (connectSelectionModelFirst) {
-#if QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)
         selectionModel.setModel(&tree);
-#endif
         proxy.setSourceModel(&tree);
         proxy.setSelectionModel(&selectionModel);
     } else {
         proxy.setSourceModel(&tree);
         proxy.setSelectionModel(&selectionModel);
-#if QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)
         selectionModel.setModel(&tree);
-#else
-        QSKIP("No QItemSelectionModel::setModel in Qt 5.4", SkipSingle);
-#endif
     }
 
     QSignalSpy beforeSpy(&proxy, 
SIGNAL(rowsAboutToBeRemoved(QModelIndex,int,int)));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kitemmodels-5.26.0/src/klinkitemselectionmodel.cpp 
new/kitemmodels-5.27.0/src/klinkitemselectionmodel.cpp
--- old/kitemmodels-5.26.0/src/klinkitemselectionmodel.cpp      2016-09-06 
00:36:46.000000000 +0200
+++ new/kitemmodels-5.27.0/src/klinkitemselectionmodel.cpp      2016-10-02 
10:02:34.000000000 +0200
@@ -40,11 +40,9 @@
         QObject::connect(q_ptr, &QItemSelectionModel::currentChanged, q_ptr,
             [this](const QModelIndex& idx) { slotCurrentChanged(idx); } );
 
-#if QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)
         QObject::connect(q_ptr, &QItemSelectionModel::modelChanged, q_ptr, 
[this] {
             reinitializeIndexMapper();
         });
-#endif
     }
 
     Q_DECLARE_PUBLIC(KLinkItemSelectionModel)
@@ -126,11 +124,9 @@
             connect(d->m_linkedItemSelectionModel, 
SIGNAL(selectionChanged(QItemSelection,QItemSelection)), 
SLOT(sourceSelectionChanged(QItemSelection,QItemSelection)));
             connect(d->m_linkedItemSelectionModel, 
SIGNAL(currentChanged(QModelIndex,QModelIndex)), 
SLOT(sourceCurrentChanged(QModelIndex)));
 
-#if QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)
             connect(d->m_linkedItemSelectionModel, 
&QItemSelectionModel::modelChanged, this, [this] {
                 d_ptr->reinitializeIndexMapper();
             });
-#endif
         }
         d->reinitializeIndexMapper();
         Q_EMIT linkedItemSelectionModelChanged();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kitemmodels-5.26.0/src/kselectionproxymodel.cpp 
new/kitemmodels-5.27.0/src/kselectionproxymodel.cpp
--- old/kitemmodels-5.26.0/src/kselectionproxymodel.cpp 2016-09-06 
00:36:46.000000000 +0200
+++ new/kitemmodels-5.27.0/src/kselectionproxymodel.cpp 2016-10-02 
10:02:34.000000000 +0200
@@ -2407,10 +2407,8 @@
                 }
                 endResetModel();
             };
-#if QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)
             connect(d->m_selectionModel.data(), 
&QItemSelectionModel::modelChanged,
                     this, handleSelectionModelModel);
-#endif
             handleSelectionModelModel();
         }
 


Reply via email to