Commit 7675e4cb authored by James Smith's avatar James Smith
Browse files

Prevent duplicate entries in the Baloo kcm folders list.

parent de0e1bc1
......@@ -124,6 +124,8 @@ void FolderSelectionWidget::setDirectoryList(QStringList includeDirs, QStringLis
excludeList << mountPath;
}
excludeList.removeDuplicates();
Q_FOREACH (QString url, excludeList) {
QListWidgetItem* item = new QListWidgetItem(m_listWidget);
QString display = folderDisplayName(url);
......
Supports Markdown
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