[Interest] App. is running after an exception is thrown.

Alexander Syvak alexander.svk at gmail.com
Sat Jul 27 15:09:24 CEST 2013


> Do not use QtGui again. If an
> exception unwound the stack in QtGui, then QtGui is now in an undefined
> state,
> which means your application could do worse things than crash.
>
How would you then handle std::bad_alloc in case there're a new widget made
during an event clicked()?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130727/684f06ac/attachment.html>


More information about the Interest mailing list