Changeset View
Changeset View
Standalone View
Standalone View
kdevplatform/util/duchainify/main.cpp
Show First 20 Lines • Show All 247 Lines • ▼ Show 20 Line(s) | 242 | { | |||
---|---|---|---|---|---|
248 | 248 | | |||
249 | KDevelop::DUChain::self()->updateContextForUrl(KDevelop::IndexedString(pathUrl), features, this); | 249 | KDevelop::DUChain::self()->updateContextForUrl(KDevelop::IndexedString(pathUrl), features, this); | ||
250 | 250 | | |||
251 | }else if(info.isDir()) | 251 | }else if(info.isDir()) | ||
252 | { | 252 | { | ||
253 | QDirIterator contents(path); | 253 | QDirIterator contents(path); | ||
254 | while(contents.hasNext()) { | 254 | while(contents.hasNext()) { | ||
255 | QString newPath = contents.next(); | 255 | QString newPath = contents.next(); | ||
256 | if(!newPath.endsWith('.')) | 256 | if(!newPath.endsWith(QLatin1Char('.'))) | ||
257 | addToBackgroundParser(newPath, features); | 257 | addToBackgroundParser(newPath, features); | ||
258 | } | 258 | } | ||
259 | } | 259 | } | ||
260 | } | 260 | } | ||
261 | 261 | | |||
262 | QSet< QUrl > Manager::waiting() | 262 | QSet< QUrl > Manager::waiting() | ||
263 | { | 263 | { | ||
264 | return m_waiting; | 264 | return m_waiting; | ||
▲ Show 20 Lines • Show All 61 Lines • Show Last 20 Lines |