summaryrefslogtreecommitdiffstats
path: root/source/kde/kde/patch/konsole/eb44240235fa61e662e9a521f72e8be9213bb536.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/kde/kde/patch/konsole/eb44240235fa61e662e9a521f72e8be9213bb536.patch')
-rw-r--r--source/kde/kde/patch/konsole/eb44240235fa61e662e9a521f72e8be9213bb536.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/source/kde/kde/patch/konsole/eb44240235fa61e662e9a521f72e8be9213bb536.patch b/source/kde/kde/patch/konsole/eb44240235fa61e662e9a521f72e8be9213bb536.patch
deleted file mode 100644
index b34efb01f..000000000
--- a/source/kde/kde/patch/konsole/eb44240235fa61e662e9a521f72e8be9213bb536.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From eb44240235fa61e662e9a521f72e8be9213bb536 Mon Sep 17 00:00:00 2001
-From: Ahmad Samir <a.samirh78@gmail.com>
-Date: Mon, 3 Jan 2022 14:19:22 +0200
-Subject: [PATCH] Use tighter matching when finding the default profile file
- name
-
-The code was checking if the path ended with a specific file name, which
-meant that if you have two profiles "Root Shell.profile" and
-"Shell.profile", the matching is messed up because the former ends with
-the latter. Instead since we're using the path, add a '/', this way we're
-matching the whole file name which is the last component in the path after
-the last '/'.
-
-Thanks to the bug reporter for git bisect'ing the repo to find the culprit
-commit.
-
-BUG: 447872
-FIXED_IN: 21.12.0
----
- src/profile/ProfileManager.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/profile/ProfileManager.cpp b/src/profile/ProfileManager.cpp
-index b19847074..18bc1dda8 100644
---- a/src/profile/ProfileManager.cpp
-+++ b/src/profile/ProfileManager.cpp
-@@ -206,7 +206,7 @@ void ProfileManager::loadAllProfiles(const QString &defaultProfileFileName)
- const QStringList &paths = availableProfilePaths();
- for (const QString &path : paths) {
- Profile::Ptr profile = loadProfile(path);
-- if (profile && !defaultProfileFileName.isEmpty() && path.endsWith(defaultProfileFileName)) {
-+ if (profile && !defaultProfileFileName.isEmpty() && path.endsWith(QLatin1Char('/') + defaultProfileFileName)) {
- _defaultProfile = profile;
- }
- }
---
-GitLab
-