diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2016-07-21 15:16:58 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2016-07-23 07:09:19 +0000 |
commit | 5123dba5640c8a8c25ec61194a703add17510401 (patch) | |
tree | f9cb230c023299e231964cc779818fbeba78b402 /src/gui/kernel/qplatformwindow.cpp | |
parent | 49926bb9ef983d4c19aed635a00b388252c065e4 (diff) |
QImage::setAlphaChannel(): Check result of image conversion
alphaChannel.convertToFormat() may fail due to OOM. Check the obtained
image.
Task-number: QTBUG-54873
Change-Id: I778b7de7de611105fe23c1c24cbd69bd8f7c72d9
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'src/gui/kernel/qplatformwindow.cpp')
0 files changed, 0 insertions, 0 deletions