Commit 3d5719e7 authored by Méven Car's avatar Méven Car Committed by Méven Car
Browse files

KCM/baloo Display full mount point in list of excluded mount points

Summary: CCBUG: 379516

Test Plan: {F7865140}

Reviewers: #plasma, ngraham

Reviewed By: ngraham

Subscribers: ngraham, plasma-devel

Tags: #plasma

Differential Revision:
parent 65a340f2
......@@ -191,7 +191,7 @@ QString FilteredFolderModel::folderDisplayName(const QString& url) const
// Check Mount allMountPointsExcluded
for (QString mountPoint : m_mountPoints) {
if (url.startsWith(mountPoint)) {
name = QLatin1Char('[') + QDir(mountPoint).dirName() + QLatin1String("]/") + url.mid(mountPoint.length());
name = QLatin1Char('[') + mountPoint+ QLatin1String("]/") + url.mid(mountPoint.length());
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment