Changeset View
Changeset View
Standalone View
Standalone View
kcms/baloo/filteredfoldermodel.cpp
Show First 20 Lines • Show All 126 Lines • ▼ Show 20 Line(s) | |||||
127 | } | 127 | } | ||
128 | 128 | | |||
129 | QStringList FilteredFolderModel::includeFolders() const | 129 | QStringList FilteredFolderModel::includeFolders() const | ||
130 | { | 130 | { | ||
131 | const QSet<QString> mountPointSet = | 131 | const QSet<QString> mountPointSet = | ||
132 | QSet<QString>::fromList(m_mountPoints) | 132 | QSet<QString>::fromList(m_mountPoints) | ||
133 | - QSet<QString>::fromList(m_excludeList); | 133 | - QSet<QString>::fromList(m_excludeList); | ||
134 | 134 | | |||
135 | return mountPointSet.toList(); | 135 | return mountPointSet.values(); | ||
136 | } | 136 | } | ||
137 | 137 | | |||
138 | QStringList FilteredFolderModel::excludeFolders() const | 138 | QStringList FilteredFolderModel::excludeFolders() const | ||
139 | { | 139 | { | ||
140 | return m_excludeList; | 140 | return m_excludeList; | ||
141 | } | 141 | } | ||
142 | 142 | | |||
143 | QString FilteredFolderModel::fetchMountPoint(const QString& url) const | 143 | QString FilteredFolderModel::fetchMountPoint(const QString& url) const | ||
▲ Show 20 Lines • Show All 106 Lines • Show Last 20 Lines |