diff options
author | Jan Arve Sæther <jan-arve.saether@qt.io> | 2019-07-02 17:11:20 +0200 |
---|---|---|
committer | Jan Arve Sæther <jan-arve.saether@qt.io> | 2019-07-05 09:11:35 +0200 |
commit | bcd4b14026094d0077ad1069054676cc6da96251 (patch) | |
tree | 452216c9563696a7a3e144c14aaf1d63e8bd418d /tests/auto/corelib/tools/qstring/tst_qstring.cpp | |
parent | c4932f93d53a08401fc61460e1ab2fe3919d9e3d (diff) |
Fix qFindTestData() to work with relative resource paths
If the resource path 'base' was relative it would enter condition 3) in
qFindTestData() and it would actually find the nonsensical "://data" as a
viable candidate. We don't want to enter that case, but rather enter the
subsequent ('Try resources') case
Change-Id: I1928ba02c941e23fee4fec9052a1981e46fa59b7
Task-number: QTBUG-73512
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'tests/auto/corelib/tools/qstring/tst_qstring.cpp')
0 files changed, 0 insertions, 0 deletions