diff options
author | Albert Astals Cid <albert.astals.cid@kdab.com> | 2018-12-21 14:59:43 +0100 |
---|---|---|
committer | Albert Astals Cid <albert.astals.cid@kdab.com> | 2019-01-03 15:07:47 +0000 |
commit | 9682d217e21a2e88b6de799d79b843bbe0039df1 (patch) | |
tree | bcb644bd4f861b23c87f33b8857e3d424b0055c4 /src/widgets/widgets/qmenu_p.h | |
parent | a21f3431b861b09a4768801f856d431c6ac44313 (diff) |
QImage::create fail if given an empty size
Previously valid but empty sizes i.e. QSize(0, 131073)
where accepted, but such sizes make no sense for an image
since they actually contain no pixels
Change-Id: Ie61e33401ad8aaea633646c66fc03f36793e839c
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'src/widgets/widgets/qmenu_p.h')
0 files changed, 0 insertions, 0 deletions