[Interest] Aligning QProgressBar inside a QSplashScreen

Thiago Macieira thiago.macieira at intel.com
Thu Oct 4 14:48:43 CEST 2012

On quinta-feira, 4 de outubro de 2012 12.44.21, Jan Kundrát wrote:
> That's the reason. I expect Q_CHECK_PTR's error message is not going to 
> change, so in my opinion it's better to get 'ASSERT: "foo"' than "out of 
> memory".

In Qt 5, Q_CHECK_PTR will throw std::bad_alloc in case it runs into a null 
pointer. The end result is usually the same: the application aborts. Usually.
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20121004/e430c20a/attachment.sig>

More information about the Interest mailing list