path: root/mkspecs
diff options
authorChristian Strømme <>2013-10-29 15:06:34 +0100
committerThe Qt Project <>2013-10-30 14:50:02 +0100
commitb280182053a8ccd912eb165b59928e88a6d62c92 (patch)
tree5df74b2367eb31a615458fe965e6d1367e2bf2e6 /mkspecs
parentfb5036b7f12dd648340aaa7f90245afd353759e2 (diff)
Android: Don't rely on QIcon::isNull() to validate icon data.
QIcon::isNull() only checks if it has a valid d pointer and not if it actually contains any image data. The result is that the QImage create from the icon would be invalid, and later cause an exception to be thrown. To avoid this we should check the QImage as well. Task-number: QTBUG-34416 Change-Id: I9dd0a2387d73bfc2c27ceb9df247ddc186dd659f Reviewed-by: BogDan Vatra <>
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions