On 2012/09/18 05:02 PM, Kandeler Christian wrote: > You are looking for QScopedPointer::reset(). Thank you, that was quick. Like this? y.v.reset(new a); -- Regards Alex