https://bugs.kde.org/show_bug.cgi?id=447872

--- Comment #6 from Jiri Slaby <jirisl...@gmail.com> ---
I believe you'll come up with sth like:
--- a/src/profile/ProfileManager.cpp
+++ b/src/profile/ProfileManager.cpp
@@ -211,7 +211,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() &&
QFileInfo(path).fileName() == defaultProfileFileName) {
             _defaultProfile = profile;
         }
     }

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to