diff options
author | Christian Strømme <christian.stromme@digia.com> | 2013-10-29 15:06:34 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-30 14:50:02 +0100 |
commit | b280182053a8ccd912eb165b59928e88a6d62c92 (patch) | |
tree | 5df74b2367eb31a615458fe965e6d1367e2bf2e6 /mkspecs | |
parent | fb5036b7f12dd648340aaa7f90245afd353759e2 (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 <bogdan@kde.org>
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions