x11-themes/kf5-kiconthemes: add upstream fix for runtime crash
This commit is contained in:
parent
d0a9b751ca
commit
6697df3208
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=482755
2 changed files with 26 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
PORTNAME= kiconthemes
|
||||
DISTVERSION= ${KDE_FRAMEWORKS_VERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11-themes kde kde-frameworks
|
||||
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
|
|
25
x11-themes/kf5-kiconthemes/files/patch-git_e0006451
Normal file
25
x11-themes/kf5-kiconthemes/files/patch-git_e0006451
Normal file
|
@ -0,0 +1,25 @@
|
|||
From e0006451d5b03a9e15277ad9e7b1c8a74864b532 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Ivan=20=C4=8Cuki=C4=87?= <ivan.cukic@kde.org>
|
||||
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
|
||||
--- src/kicondialog.cpp
|
||||
+++ 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
|
||||
|
Loading…
Reference in a new issue