diff options
author | Andy Shaw <andy.shaw@digia.com> | 2012-12-17 11:53:55 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-12-20 06:30:07 +0100 |
commit | 9f28f8bcbbf72d737616bcf57820c1e4bef3be95 (patch) | |
tree | 2cf46a7f8f4e185fc28953471a740eb4d0479dad /mkspecs | |
parent | f2dbf6a8194cd244c08cde3cc008f4a6e21caee8 (diff) |
Prevent a crash if the pixmap passed in is null
If the pixmap passed in is null then we should not try to create a
NSImage for it, so we just return 0 instead.
Change-Id: Idae7ba304c97878e0aa8ae1eead5f4bb644a73de
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions