Hello community, here is the log from the commit of package kde-gtk-config5 for openSUSE:Factory checked in at 2018-07-14 20:17:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kde-gtk-config5 (Old) and /work/SRC/openSUSE:Factory/.kde-gtk-config5.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kde-gtk-config5" Sat Jul 14 20:17:06 2018 rev:62 rq:622106 version:5.13.3 Changes: -------- --- /work/SRC/openSUSE:Factory/kde-gtk-config5/kde-gtk-config5.changes 2018-07-01 21:21:23.617159738 +0200 +++ /work/SRC/openSUSE:Factory/.kde-gtk-config5.new/kde-gtk-config5.changes 2018-07-14 20:19:22.531283937 +0200 @@ -1,0 +2,13 @@ +Tue Jul 10 14:01:34 CEST 2018 - [email protected] + +- Update to 5.13.3 + * New bugfix release + * For more details please see: + * https://www.kde.org/announcements/plasma-5.13.3.php +- Changes since 5.13.2: + * Don't have two methods called the same in parent and children class without relation + * --warning + * Don't display duplicate icon themeicon theme entries + * Keep Cursor and Icon themes lists sorted (kde#368600) + +------------------------------------------------------------------- Old: ---- kde-gtk-config-5.13.2.tar.xz New: ---- kde-gtk-config-5.13.3.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kde-gtk-config5.spec ++++++ --- /var/tmp/diff_new_pack.Ph2VdP/_old 2018-07-14 20:19:23.439286276 +0200 +++ /var/tmp/diff_new_pack.Ph2VdP/_new 2018-07-14 20:19:23.443286286 +0200 @@ -18,7 +18,7 @@ %bcond_without lang Name: kde-gtk-config5 -Version: 5.13.2 +Version: 5.13.3 Release: 0 Summary: KCM Module to Configure GTK2 and GTK3 Applications Appearance Under KDE License: LGPL-3.0-or-later AND GPL-3.0-or-later ++++++ kde-gtk-config-5.13.2.tar.xz -> kde-gtk-config-5.13.3.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kde-gtk-config-5.13.2/CMakeLists.txt new/kde-gtk-config-5.13.3/CMakeLists.txt --- old/kde-gtk-config-5.13.2/CMakeLists.txt 2018-06-26 13:40:22.000000000 +0200 +++ new/kde-gtk-config-5.13.3/CMakeLists.txt 2018-07-10 12:04:30.000000000 +0200 @@ -1,5 +1,5 @@ project(kde-gtk-config) -set(PROJECT_VERSION "5.13.2") +set(PROJECT_VERSION "5.13.3") cmake_minimum_required(VERSION 2.8.12) find_package(ECM 0.0.9 REQUIRED NO_MODULE) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kde-gtk-config-5.13.2/po/zh_CN/kde-gtk-config.po new/kde-gtk-config-5.13.3/po/zh_CN/kde-gtk-config.po --- old/kde-gtk-config-5.13.2/po/zh_CN/kde-gtk-config.po 2018-06-26 13:40:21.000000000 +0200 +++ new/kde-gtk-config-5.13.3/po/zh_CN/kde-gtk-config.po 2018-07-10 12:04:30.000000000 +0200 @@ -8,7 +8,7 @@ "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" "POT-Creation-Date: 2017-12-22 03:11+0100\n" -"PO-Revision-Date: 2018-06-19T17:12:27+0000\n" +"PO-Revision-Date: 2018-07-03 17:38\n" "Last-Translator: guoyunhebrave <[email protected]>\n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kde-gtk-config-5.13.2/src/cursorthemesmodel.cpp new/kde-gtk-config-5.13.3/src/cursorthemesmodel.cpp --- old/kde-gtk-config-5.13.2/src/cursorthemesmodel.cpp 2018-06-26 13:39:59.000000000 +0200 +++ new/kde-gtk-config-5.13.3/src/cursorthemesmodel.cpp 2018-07-10 12:04:24.000000000 +0200 @@ -84,4 +84,6 @@ fillItem(dir, themeit); appendRow(themeit); } + + sort(0); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kde-gtk-config-5.13.2/src/cursorthemesmodel.h new/kde-gtk-config-5.13.3/src/cursorthemesmodel.h --- old/kde-gtk-config-5.13.2/src/cursorthemesmodel.h 2018-06-26 13:39:59.000000000 +0200 +++ new/kde-gtk-config-5.13.3/src/cursorthemesmodel.h 2018-07-10 12:04:24.000000000 +0200 @@ -31,7 +31,7 @@ public: explicit CursorThemesModel(QObject* parent = 0); - void reload(); + void reload() override; private: static void fillItem(const QDir& dir, QStandardItem* item); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kde-gtk-config-5.13.2/src/iconthemesmodel.cpp new/kde-gtk-config-5.13.3/src/iconthemesmodel.cpp --- old/kde-gtk-config-5.13.2/src/iconthemesmodel.cpp 2018-06-26 13:39:59.000000000 +0200 +++ new/kde-gtk-config-5.13.3/src/iconthemesmodel.cpp 2018-07-10 12:04:24.000000000 +0200 @@ -32,6 +32,7 @@ : QStandardItemModel(parent) , m_onlyHome(onlyHome) { + setSortRole(Qt::DisplayRole); reload(); } @@ -98,14 +99,20 @@ { clear(); + QSet<QString> done; QList<QDir> paths = installedThemesPaths(); Q_FOREACH(const QDir& dir, paths) { KIconTheme theme(dir.dirName()); - if (!theme.isValid()) { - qWarning() << "invalid theme" << dir.dirName(); + if (!theme.isValid()) { //most likely a cursor theme +// qWarning() << "invalid theme" << dir.dirName(); continue; } + if (done.contains(dir.dirName())) + continue; + + done << dir.dirName(); + QStandardItem* item = new QStandardItem(dir.dirName()); item->setData(dir.path(), PathRole); item->setData(dir.dirName(), DirNameRole); @@ -122,4 +129,5 @@ appendRow(item); } + sort(0); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kde-gtk-config-5.13.2/src/iconthemesmodel.h new/kde-gtk-config-5.13.3/src/iconthemesmodel.h --- old/kde-gtk-config-5.13.2/src/iconthemesmodel.h 2018-06-26 13:39:59.000000000 +0200 +++ new/kde-gtk-config-5.13.3/src/iconthemesmodel.h 2018-07-10 12:04:24.000000000 +0200 @@ -33,7 +33,7 @@ explicit IconThemesModel(bool onlyHome=false, QObject* parent = 0); - void reload(); + virtual void reload(); static QString findIconRecursivelyByName(const QString& name, const QDir& directory); private:
