aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickapplication
diff options
context:
space:
mode:
authorAnton Kudryavtsev <a.kudryavtsev@netris.ru>2016-10-13 14:55:56 +0300
committerAnton Kudryavtsev <a.kudryavtsev@netris.ru>2016-10-18 11:33:13 +0000
commitdeb3f13af4ab88ea5193825212fb46313cb14eb9 (patch)
tree94d1ee029349c81d2958f9dc287e0fcca95c4435 /tests/auto/quick/qquickapplication
parentf04c2c40fd7ee91e5cbff2ca4df0fdc30dfbbcd5 (diff)
QQuickCanvasItem: optimize mimeToType
Provide early out, if mime is not image. If mime is image, we can drop reduntant 'image/' prefix from all strings. Also we can pass type in lower register to QImage::save(), so use only lower register in this function to de-duplicate .rodata strings. Change-Id: I6365edbe3c24ae096c5b1c23e8707299a8a5d5f3 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/quick/qquickapplication')
0 files changed, 0 insertions, 0 deletions