fix minor issue with qobjectimpl snippet