[Nepomuk] Review Request: kinotify: Replace manual directory iteration code with QDirIterator
Sebastian Trueg
sebastian at trueg.de
Sat Jun 16 12:41:35 UTC 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105275/#review14789
-----------------------------------------------------------
Ship it!
Fine by me. Just notice that originally I use QDirIterator and only replaced it with the custom iteration since the Qt class was very buggy. It missed complete sub-folders all the time. This, however, was a long time ago...
- Sebastian Trueg
On June 16, 2012, 9:53 a.m., Vishesh Handa wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/105275/
> -----------------------------------------------------------
>
> (Updated June 16, 2012, 9:53 a.m.)
>
>
> Review request for Nepomuk and Sebastian Trueg.
>
>
> Description
> -------
>
> Replace manual directory iteration code with QDirIterator
>
> The existing code has been causing crashes since KDE 4.5, and is very
> hard to maintain since no one really understands it properly.
>
> Funnily enough, this version detects a lot of directories that the old
> code did not. Weird.
>
> BUG: 239842
>
>
> This addresses bug 239842.
> http://bugs.kde.org/show_bug.cgi?id=239842
>
>
> Diffs
> -----
>
> services/filewatch/kinotify.cpp 84043e7951aed9a86075f0760410717bf525883b
>
> Diff: http://git.reviewboard.kde.org/r/105275/diff/
>
>
> Testing
> -------
>
> Works for me.
>
> 3 tests fail in the kinotify tests. However, this patch is not the cause.
>
>
> Thanks,
>
> Vishesh Handa
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20120616/b1ac80d1/attachment.html>
More information about the Nepomuk
mailing list