D11529: Balooctl: Deindex unfound files with check command.

Stefan BrĂ¼ns noreply at phabricator.kde.org
Fri Aug 24 14:16:01 BST 2018


bruns added inline comments.

INLINE COMMENTS

> indexcleaner.cpp:76
>  
> -    const auto includeFolders = m_config->includeFolders();
> -    for (const QString& folder : includeFolders) {
> -        quint64 id = filePathToId(QFile::encodeName(folder));
> -        tr.removeRecursively(id, shouldDelete);
> +    for (const auto& device: m_config->storageDevices()->allMedia()) {
> +        if (!device.isMounted()) {

Undesired detach

> indexcleaner.cpp:82
> +
> +            for (const QString& folder : m_config->includeFolders()) {
> +                if (folder.startsWith(devicePath)) {

Undesired detach

REPOSITORY
  R293 Baloo

REVISION DETAIL
  https://phabricator.kde.org/D11529

To: smithjd, #baloo, vhanda, michaelh, broulik
Cc: bruns, kde-frameworks-devel, mgallien, ashaposhnikov, michaelh, astippich, spoorun, ngraham, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180824/2aac6396/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list