Remove redundant match for mountpoints
ClosedPublic

Authored by bruns on Feb 24 2020, 11:17 PM.

Details

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.

Diff Detail

Repository
R119 Plasma Desktop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
bruns created this revision.Feb 24 2020, 11:17 PM
Restricted Application added a project: Plasma. · View Herald TranscriptFeb 24 2020, 11:17 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
bruns requested review of this revision.Feb 24 2020, 11:17 PM
ngraham accepted this revision.Feb 25 2020, 4:34 PM
This revision is now accepted and ready to land.Feb 25 2020, 4:34 PM
This revision was automatically updated to reflect the committed changes.