garbage collection in QObject