Comment 23 for bug 569715

Revision history for this message
In , Trueg (trueg) wrote :

Git commit 4f7a5d19da26af282f640c913afccad26000a388 by Sebastian Trueg.
Committed on 24/10/2011 at 17:47.
Pushed by trueg into branch 'KDE/4.7'.

Run the MetaDataMover with an event loop.

It is using the exact same approach as the file indexer does: a new
thread is created and started and the MetaDataMover is then
QObject::moveToThread'ed to it.

This fixes mem leaks caused by DBus events that are not cleaned up.

BUG: 226676
FIXED-IN: 4.7.3

M +70 -63 nepomuk/services/filewatch/metadatamover.cpp
M +13 -10 nepomuk/services/filewatch/metadatamover.h
M +9 -10 nepomuk/services/filewatch/nepomukfilewatch.cpp
M +3 -1 nepomuk/services/filewatch/nepomukfilewatch.h

http://commits.kde.org/kde-runtime/4f7a5d19da26af282f640c913afccad26000a388