D11745: databasesanitizer: Use flags for filtering

Stefan BrĂ¼ns noreply at phabricator.kde.org
Wed Apr 4 23:32:38 UTC 2018


bruns added inline comments.

INLINE COMMENTS

> databasesanitizer.h:41
> +        IgnoreUnavailable = 2,
> +        IgnoreMounted = IgnoreAvailable << 1,
> +        IgnoreUnmounted = IgnoreUnavailable << 1

Is this correct? IgnoreMounted = (1 << 1) = 2 == IgnoreUnavailable?

REPOSITORY
  R293 Baloo

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

To: michaelh, #baloo, #frameworks
Cc: bruns, ngraham, smithjd, ashaposhnikov, michaelh, astippich, spoorun, alexeymin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180404/5d83a01b/attachment.html>


More information about the Kde-frameworks-devel mailing list