Hello community,

here is the log from the commit of package kiconthemes for openSUSE:Factory 
checked in at 2018-11-06 13:55:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kiconthemes (Old)
 and      /work/SRC/openSUSE:Factory/.kiconthemes.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kiconthemes"

Tue Nov  6 13:55:50 2018 rev:62 rq:643803 version:5.51.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kiconthemes/kiconthemes.changes  2018-10-22 
11:13:00.979794274 +0200
+++ /work/SRC/openSUSE:Factory/.kiconthemes.new/kiconthemes.changes     
2018-11-06 13:56:21.040091837 +0100
@@ -1,0 +2,6 @@
+Mon Oct 22 19:08:51 UTC 2018 - Wolfgang Bauer <[email protected]>
+
+- Add Fixing-a-copy-paste-error.patch to fix crashes when opening
+  the icon dialog (kde#398766)
+
+-------------------------------------------------------------------

New:
----
  Fixing-a-copy-paste-error.patch

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

Other differences:
------------------
++++++ kiconthemes.spec ++++++
--- /var/tmp/diff_new_pack.4dQwEP/_old  2018-11-06 13:56:26.412084498 +0100
+++ /var/tmp/diff_new_pack.4dQwEP/_new  2018-11-06 13:56:26.412084498 +0100
@@ -32,6 +32,8 @@
 URL:            https://www.kde.org
 Source:         
http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz
 Source1:        baselibs.conf
+# PATCH-FIX-UPSTREAM
+Patch:          Fixing-a-copy-paste-error.patch
 BuildRequires:  cmake >= 3.0
 BuildRequires:  extra-cmake-modules >= %{_kf5_bugfix_version}
 BuildRequires:  fdupes
@@ -76,6 +78,7 @@
 
 %prep
 %setup -q
+%autopatch -p1
 
 %build
   %cmake_kf5 -d build

++++++ Fixing-a-copy-paste-error.patch ++++++
>From e0006451d5b03a9e15277ad9e7b1c8a74864b532 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ivan=20=C4=8Cuki=C4=87?= <[email protected]>
Date: Mon, 8 Oct 2018 23:12:34 +0200
Subject: Fixing a copy-paste error

---
 src/kicondialog.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/kicondialog.cpp b/src/kicondialog.cpp
index 1f4193e..12ccb4f 100644
--- a/src/kicondialog.cpp
+++ b/src/kicondialog.cpp
@@ -416,7 +416,7 @@ void KIconDialog::KIconDialogPrivate::_k_slotAcceptIcons()
 static bool sortByFileName(const QString &path1, const QString &path2)
 {
     const QString fileName1 = path1.mid(path1.lastIndexOf(QLatin1Char('/')) + 
1);
-    const QString fileName2 = path2.mid(path1.lastIndexOf(QLatin1Char('/')) + 
1);
+    const QString fileName2 = path2.mid(path2.lastIndexOf(QLatin1Char('/')) + 
1);
     return QString::compare(fileName1, fileName2, Qt::CaseInsensitive) < 0;
 }
 
-- 
cgit v0.11.2


Reply via email to