Hello community,

here is the log from the commit of package yast2-control-center for 
openSUSE:Factory checked in at 2019-02-15 09:54:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-control-center (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-control-center.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-control-center"

Fri Feb 15 09:54:09 2019 rev:76 rq:675400 version:4.1.6

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/yast2-control-center/yast2-control-center.changes    
    2019-02-04 16:08:54.786029151 +0100
+++ 
/work/SRC/openSUSE:Factory/.yast2-control-center.new.28833/yast2-control-center.changes
     2019-02-15 09:54:11.115783045 +0100
@@ -1,0 +2,6 @@
+Thu Feb 14 10:42:58 UTC 2019 - Stasiek Michalski <hel...@mailbox.org>
+
+- Fix icon display to new libyui-qt function (boo#1125424)
+- 4.1.6
+
+-------------------------------------------------------------------

Old:
----
  yast2-control-center-4.1.5.tar.bz2

New:
----
  yast2-control-center-4.1.6.tar.bz2

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

Other differences:
------------------
++++++ yast2-control-center.spec ++++++
--- /var/tmp/diff_new_pack.YhqZst/_old  2019-02-15 09:54:11.539782911 +0100
+++ /var/tmp/diff_new_pack.YhqZst/_new  2019-02-15 09:54:11.539782911 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-control-center
-Version:        4.1.5
+Version:        4.1.6
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ yast2-control-center-4.1.5.tar.bz2 -> yast2-control-center-4.1.6.tar.bz2 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-control-center-4.1.5/package/yast2-control-center.changes 
new/yast2-control-center-4.1.6/package/yast2-control-center.changes
--- old/yast2-control-center-4.1.5/package/yast2-control-center.changes 
2019-01-29 13:19:15.000000000 +0100
+++ new/yast2-control-center-4.1.6/package/yast2-control-center.changes 
2019-02-14 14:12:22.000000000 +0100
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Thu Feb 14 10:42:58 UTC 2019 - Stasiek Michalski <hel...@mailbox.org>
+
+- Fix icon display to new libyui-qt function (boo#1125424)
+- 4.1.6
+
+-------------------------------------------------------------------
 Mon Jan 28 12:47:56 UTC 2019 - Fabian Vogt <fv...@suse.com>
 
 - Enable HiDPI pixmaps (bsc#1109602)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-control-center-4.1.5/package/yast2-control-center.spec 
new/yast2-control-center-4.1.6/package/yast2-control-center.spec
--- old/yast2-control-center-4.1.5/package/yast2-control-center.spec    
2019-01-29 13:19:15.000000000 +0100
+++ new/yast2-control-center-4.1.6/package/yast2-control-center.spec    
2019-02-14 14:12:22.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-control-center
-Version:        4.1.5
+Version:        4.1.6
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-control-center-4.1.5/src/yqdesktopfilesmodel.cpp 
new/yast2-control-center-4.1.6/src/yqdesktopfilesmodel.cpp
--- old/yast2-control-center-4.1.5/src/yqdesktopfilesmodel.cpp  2019-01-29 
13:19:15.000000000 +0100
+++ new/yast2-control-center-4.1.6/src/yqdesktopfilesmodel.cpp  2019-02-14 
14:12:22.000000000 +0100
@@ -278,26 +278,7 @@
  
 QVariant YQDesktopFilesModel::findIcon(  QString &icon ) const
 {
-    if ( QIcon::hasThemeIcon(icon) )
-    {
-        return QIcon::fromTheme(icon);
-    }
-    else
-    {
-        QRegExp extension( "\\.(png|jpg|svg)$", Qt::CaseInsensitive );
-        if ( icon.indexOf( extension ) < 0 )   // no .png or .jpg extension?
-            icon += ".png";                    // assume .png
-        QStringListIterator it(d->icon_dirs);
-        while (it.hasNext())
-        {
-            QString icondir(it.next());
-            if ( QFile::exists(icondir + "/" + icon) )
-            {
-                return QIcon(icondir + "/" + icon);
-            }
-        }
-    }
-    return QVariant();
+    return QIcon::fromTheme(icon);
 }
  
 void YQDesktopFilesModel::sort( int, Qt::SortOrder order )


Reply via email to