Commit 0acbfba3 authored by Stefan Brüns's avatar Stefan Brüns

Remove redundant match for mountpoints

m_excludeList is populated from m_settings->excludeFolders(), so one of
the checks is redundant.

Remove the first and not the second one, as the first does not use
normalized pathes and may miss some matches.

Reviewers: #baloo, ngraham, davidedmundson

Reviewed By: #baloo, ngraham

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent 3d2dfabe
......@@ -108,9 +108,6 @@ void FilteredFolderModel::updateDirectoryList()
if (includeList.contains(mountPath))
if (m_settings->excludedFolders().contains(mountPath))
if (!m_excludeList.contains(mountPath)) {
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