summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc/tst_moc.cpp
diff options
context:
space:
mode:
authorAlbert Astals Cid <albert.astals.cid@kdab.com>2018-12-21 14:59:43 +0100
committerAlbert Astals Cid <albert.astals.cid@kdab.com>2019-01-03 15:07:47 +0000
commit9682d217e21a2e88b6de799d79b843bbe0039df1 (patch)
treebcb644bd4f861b23c87f33b8857e3d424b0055c4 /tests/auto/tools/moc/tst_moc.cpp
parenta21f3431b861b09a4768801f856d431c6ac44313 (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 'tests/auto/tools/moc/tst_moc.cpp')
0 files changed, 0 insertions, 0 deletions