Changeset View
Changeset View
Standalone View
Standalone View
src/kioslaves/kded/baloosearchmodule.cpp
Show First 20 Lines • Show All 80 Lines • ▼ Show 20 Line(s) | |||||
81 | { | 81 | { | ||
82 | QUrl url(urlString); | 82 | QUrl url(urlString); | ||
83 | m_searchUrls.removeAll(url); | 83 | m_searchUrls.removeAll(url); | ||
84 | } | 84 | } | ||
85 | 85 | | |||
86 | void SearchModule::slotBalooFileDbChanged() | 86 | void SearchModule::slotBalooFileDbChanged() | ||
87 | { | 87 | { | ||
88 | qDebug() << m_searchUrls; | 88 | qDebug() << m_searchUrls; | ||
89 | for (const QUrl& dirUrl : m_searchUrls) { | 89 | for (const QUrl& dirUrl : qAsConst(m_searchUrls)) { | ||
90 | org::kde::KDirNotify::emitFilesAdded(dirUrl); | 90 | org::kde::KDirNotify::emitFilesAdded(dirUrl); | ||
91 | } | 91 | } | ||
92 | } | 92 | } | ||
93 | 93 | | |||
94 | void SearchModule::slotFileMetaDataChanged(const QStringList& list) | 94 | void SearchModule::slotFileMetaDataChanged(const QStringList& list) | ||
95 | { | 95 | { | ||
96 | qDebug() << m_searchUrls; | 96 | qDebug() << m_searchUrls; | ||
97 | qDebug() << list; | 97 | qDebug() << list; | ||
Show All 13 Lines |