Using QObject::deleteLater()