Comment 25 for bug 569715

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

Git commit 0f511184ae25364618ba244f6afda5570b02c388 by Sebastian Trueg.
Committed on 24/10/2011 at 17:47.
Pushed by trueg into branch 'master'.

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

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/0f511184ae25364618ba244f6afda5570b02c388