Remove redundant match for mountpoints

Authored by bruns on Feb 23 2020, 9:20 PM.

Description

Remove redundant match for mountpoints

Summary:
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: https://phabricator.kde.org/D27636

Details

Committed
brunsFeb 25 2020, 11:52 PM
Reviewer
Baloo
Differential Revision
D27636: Remove redundant match for mountpoints
Parents
R119:3d2dfabe5509: KCM/Component email: simplify code
Branches
Unknown
Tags
Unknown