Comment 24 for bug 569715

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

Git commit 90afde5b3a488f89be2349085971655e6497f1bc by Sebastian Trueg.
Committed on 24/10/2011 at 17:00.
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 services/filewatch/metadatamover.cpp
M +13 -10 services/filewatch/metadatamover.h
M +9 -10 services/filewatch/nepomukfilewatch.cpp
M +3 -1 services/filewatch/nepomukfilewatch.h

http://commits.kde.org/nepomuk-core/90afde5b3a488f89be2349085971655e6497f1bc