This is the more complicated way. Just use deleterLater(). It has the same effect. After the next round the eventloop the object will be deleted.
-- Best Regards Reinhardt Behm mailto: rb...@hushmail.com Skype: reinhardt.behm On Thursday 30 October 2014 11:03:22 Tony Rietwyk wrote: > Hi Sean, > > > > Closing a device within a read slot sounds dodgy anyway. In these cases, I > usually do QTimer::singleShot(0, ...) and do the close in that slot. > > > > Regards, > > > > Tony _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest