[Nepomuk] Review Request: kinotify: Replace manual directory iteration code with QDirIterator

Vishesh Handa me at vhanda.in
Sat Jun 16 09:53:56 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105275/
-----------------------------------------------------------

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/5a8ff783/attachment.html>


More information about the Nepomuk mailing list