Remove relative directory elements in import paths
authorMatthew Vogt <matthew.vogt@nokia.com>
Fri, 20 Apr 2012 04:50:03 +0000 (14:50 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 26 Apr 2012 01:33:13 +0000 (03:33 +0200)
commitf29c5732f6dbb2c928a088bb14dfb63b600ca9c8
tree938ab6533d309abcc706369680248db31a6a3da3
parent1d0368335d25b70d3cecbbcea224feb9ac0d6e59
Remove relative directory elements in import paths

Avoid unnecessary conversions to/from QUrl.

Change-Id: If52e78cfdaf4fe344f34d961e300b21dd4a11fb2
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Reviewed-by: Chris Adams <christopher.adams@nokia.com>
src/qml/qml/qqmlimport.cpp
tests/auto/qml/qqmlcomponent/data/componentUrlCanonicalization.4.qml [new file with mode: 0644]
tests/auto/qml/qqmlcomponent/data/componentUrlCanonicalization.5.qml [new file with mode: 0644]
tests/auto/qml/qqmlcomponent/tst_qqmlcomponent.cpp