4 ms·
Code like: QImage image("filename.png"); is pretty common. Qt solves this by not throwing an exception and using a Null image check: bool QImage::isNull(
by grumbel 3y ago
Code like:
QImage image("filename.png");
is pretty common. Qt solves this by not throwing an exception and using a Null image check:
bool QImage::isNull() const
but that throws all the extra information that an Exception could provide away.