Remove "qrc:/" if it is the start of the nmea source url
If a relative path is given and the source of the qml file is inside the
qrc then it will cause "qrc:/" to be prepended causing it to fail to find
the file. Therefore it should also remove "qrc:/" from the start of the
url if that exists.
Change-Id: I369ae933d77511a8f7b9db7585922b8ad70ef571
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
| commit | c2d230954690f83ffc19b752dfe300f293da0998 |
| parent | 01d3663a044b650e0bfa797c5e02b0e8bb37246a |
| author | Andy Shaw <andy.shaw@digia.com> |
| committer | Alex Blasche <alexander.blasche@theqtcompany.com> |
| commit time | Fri, 16 Jan 2015 09:02:53 +0100 |