summaryrefslogtreecommitdiff
path: root/src/testlib/qtestfilelogger.h
diff options
context:
space:
mode:
authorAapo Haapanen <ext-aapo.haapanen@nokia.com>2012-01-26 16:11:40 +0200
committerPasi Pentikäinen <ext-pasi.a.pentikainen@nokia.com>2012-02-03 10:35:55 +0100
commit07e2c3316b544c96e082acea774d089119ed7c5a (patch)
tree929dfc726c31b1a0a0c2e1549dacb48cc52af3a2 /src/testlib/qtestfilelogger.h
parent24fa03682480911288adacd94c2f0beef2f8dcb8 (diff)
downloadqt4-tools-07e2c3316b544c96e082acea774d089119ed7c5a.tar.gz
Change QUrl::toLocalFile to return path for relative urls
This change reverts the behaviour of QUrl::toLocalFile to the state it was before 4.8. After this change the function returns the path if the url is relative. Before this change an empty QString was returned. A relative url can refer to a local file, but that can't be determined from the url alone. Thus, it makes sense to return the path for such urls. Added documentation to explain that the function works like this to maintain backward compatability in 4.x, but the handling of relative URLs will change in 5.0. Task-number: QTBUG-19827 Change-Id: I8bb8f4603a5936c0359afc1b6ff98824fad6cbc9 Reviewed-by: Olivier Goffart <ogoffart@woboq.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 182acb541a7b8ac0edca842fdc867751df723f50) Reviewed-by: Pasi Pentikäinen <ext-pasi.a.pentikainen@nokia.com>
Diffstat (limited to 'src/testlib/qtestfilelogger.h')
0 files changed, 0 insertions, 0 deletions