Image: Fix that HiDPI image was not found with QRC alias
authorEike Ziller <eike.ziller@theqtcompany.com>
Wed, 21 Jan 2015 13:32:08 +0000 (14:32 +0100)
committerEike Ziller <eike.ziller@theqtcompany.com>
Fri, 23 Jan 2015 14:09:22 +0000 (15:09 +0100)
commit4d76e4fd35e90356b3115fb64df853849f4ffcbc
tree57981f5d26125a133400229c589e833a6d4ba2cf
parent6b3ac8e2e0944fb6025371c2ff37db350fef69fd
Image: Fix that HiDPI image was not found with QRC alias

When using images in QRC and giving the 1x and 2x image files
respective aliases but without any file extension
(for example 'myimage' and 'myimage@2x'),
then Image would fail to find the 2x variant.

Task-number: QTBUG-44049
Change-Id: I20d0cb2eb48b909775b0ba737b850bc1b6697b35
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
src/quick/items/qquickimagebase.cpp