qt5base-lts/tests/auto/corelib
Kevin Funk 8dad3bf212 Fix toDisplayString(QUrl::PreferLocalFile) on Win
When using QUrl::PreferLocalFile we do want to strip the leading slash,
as toLocalFile() would do as well.

Behavior change by means of an example:
  QUrl url(QUrl::fromLocalFile("C:/file.txt")
  url.toLocalFile() --> "C:/file.txt"

Before:
  url.toDisplayString(QUrl::PreferLocalFile) --> "/C:/file.txt"

After:
  url.toDisplayString(QUrl::PreferLocalFile) --> "C:/file.txt"

Task-number: QTBUG-41729
Change-Id: I7d425541f6077ebcf3fcf46feeb7e0f03a0d7fe2
Reviewed-by: Dominik Haumann <dhaumann@kde.org>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2016-01-20 13:24:53 +00:00
..
animation Extend tst_QPauseAnimation::pauseAndPropertyAnimations blacklist 2015-06-20 15:25:58 +00:00
codecs fix usage of wince scope 2015-06-05 10:29:10 +00:00
global Fix compilation for WinRT 2015-12-14 08:43:15 +00:00
io Fix toDisplayString(QUrl::PreferLocalFile) on Win 2016-01-20 13:24:53 +00:00
itemmodels tst_QItemModel: Use a QTemporaryDir for test data of QDirModel. 2015-11-27 22:50:26 +00:00
json Fix QJsonValue::fromVariant() if the variant contains a json object 2015-12-22 10:00:46 +00:00
kernel QVariant: make sure two floating points compare equal if they are equal 2016-01-11 05:20:23 +00:00
mimetypes QMimeDatabase: follow symlinks when checking for FIFO etc. 2015-12-29 11:06:13 +00:00
plugin Autotest: remove AIX-related QT_POINTER_SIZE code 2015-10-23 18:10:22 +00:00
statemachine Add a test case for conflicting transitions 2015-10-30 21:15:38 +00:00
thread Fix compilation for WinRT 2015-12-14 08:43:15 +00:00
tools [Android]: Java uses some deprecated locale codes so account for these 2016-01-13 12:37:56 +00:00
xml Update copyright headers 2015-02-11 06:49:51 +00:00
corelib.pro iOS: Enable building of basic tests 2014-01-22 12:35:17 +01:00