QQuickImageBase: Use QUrl::path() instead of QUrl::toString().
authorRobin Burchell <robin.burchell@viroteck.net>
Fri, 26 Jun 2015 09:56:05 +0000 (11:56 +0200)
committerRobin Burchell <robin.burchell@viroteck.net>
Wed, 19 Aug 2015 22:29:26 +0000 (22:29 +0000)
commit04f30db289225e700fe99c163f53f0dd7e920caf
treed29da016a36af8cf5d989f140076dfca9fb7845c
parent88cfe493381e9daea55f660d49ea989e351cdce4
QQuickImageBase: Use QUrl::path() instead of QUrl::toString().

This copies less data, which is faster. Increases creation/delegates_image from
560 ops/frame to 600 ops/frame for me.

Change-Id: I9c230bb9fa82fd631020881fb741857285589bca
Suggested-by: Michael Brasser <michael.brasser@live.com>
Reviewed-by: Michael Brasser <michael.brasser@live.com>
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
src/quick/items/qquickimagebase.cpp