Changeset View
Changeset View
Standalone View
Standalone View
kcms/baloo/filteredfoldermodel.cpp
Show First 20 Lines • Show All 102 Lines • ▼ Show 20 Line(s) | 81 | { | |||
---|---|---|---|---|---|
103 | 103 | | |||
104 | m_excludeList = addTrailingSlashes(m_settings->excludedFolders()); | 104 | m_excludeList = addTrailingSlashes(m_settings->excludedFolders()); | ||
105 | 105 | | |||
106 | // This algorithm seems bogus. verify later. | 106 | // This algorithm seems bogus. verify later. | ||
107 | for (const QString& mountPath : m_mountPoints) { | 107 | for (const QString& mountPath : m_mountPoints) { | ||
108 | if (includeList.contains(mountPath)) | 108 | if (includeList.contains(mountPath)) | ||
109 | continue; | 109 | continue; | ||
110 | 110 | | |||
111 | if (m_settings->excludedFolders().contains(mountPath)) | | |||
112 | continue; | | |||
113 | | ||||
114 | if (!m_excludeList.contains(mountPath)) { | 111 | if (!m_excludeList.contains(mountPath)) { | ||
115 | m_excludeList.append(mountPath); | 112 | m_excludeList.append(mountPath); | ||
116 | } | 113 | } | ||
117 | } | 114 | } | ||
118 | 115 | | |||
119 | endResetModel(); | 116 | endResetModel(); | ||
120 | } | 117 | } | ||
121 | 118 | | |||
▲ Show 20 Lines • Show All 112 Lines • Show Last 20 Lines |