diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-08-23 12:50:36 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2018-08-23 17:32:20 +0000 |
commit | ed557c037847e343caa010562952b398f806adcd (patch) | |
tree | 43009b06628f6be576af6ba93abb1ee0390cb0ee /tests/auto/corelib/itemmodels | |
parent | 2ab804c4520a8fa8e5aa69cebcf2f2f4441057c1 (diff) |
Handle uploading of faked sub-images
One trick that is possible to do with QImage is to make it be sub image
of its imagedata by manipulating the data start and bytes-per-line,
we can not upload that directly and need to detect the case and create
a clean copy to upload.
Task-number: QTBUG-70105
Change-Id: I7ce184a0892fb4071b6dcc1a1fd3881a4e0703cd
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'tests/auto/corelib/itemmodels')
0 files changed, 0 insertions, 0 deletions