broulik added inline comments. INLINE COMMENTS
> app.cpp:183 > + // have trouble processing them > + if ((ex->extractorProperties()["Name"].toString() == > QLatin1String("PlaintextExtractor")) && (QFileInfo(url).size() >= 10 * 1024 * > 1024)) { > + qCWarning(BALOO) << "Skipping" << url << ": large plain text > file"; Store the size in a variable outside the loop, otherwise you end up querying it on each iteration. REPOSITORY R293 Baloo REVISION DETAIL https://phabricator.kde.org/D23787 To: poboiko, #baloo, bruns, ngraham Cc: broulik, kde-frameworks-devel, #baloo, lots0logs, LeGast00n, fbampaloukas, GB_2, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams