qt5base-lts/tests/auto/corelib
David Faure fd331a5b3a QUrl: fromLocalFile(QString()) should lead to an empty URL.
This is much more useful than the URL "file:", it allows to use
"empty path" and "empty URL" for the same meaning (e.g. not set).

QFileDialog actually uses "file:" though, as the URL for the
"My Computer" item in the sidebar. This patch preserves that.

[ChangeLog][QtCore][QUrl] QUrl::fromLocalFile now returns an empty URL
if the input string is empty.

Change-Id: Ib5ce1a3cdf5f229368e5bcd83c62c1d1ac9f8a17
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2014-07-26 09:49:33 +02:00
..
animation Updated corelib's unit tests to use QSignalSpy's functor constructor 2014-05-08 04:22:54 +02:00
codecs Merge remote-tracking branch 'origin/release' into stable 2014-05-14 12:37:34 +02:00
global Logging: fix support for %{time format} in QT_MESSAGE_PATTERN 2014-07-13 18:20:42 +02:00
io QUrl: fromLocalFile(QString()) should lead to an empty URL. 2014-07-26 09:49:33 +02:00
itemmodels QAbstractProxyModel: Forward drop-related API. 2014-06-25 16:31:03 +02:00
json Fix QJsonValue comparison. 2014-07-25 15:25:43 +02:00
kernel Update QVariant tests 2014-07-10 13:14:40 +02:00
mimetypes test: Don't build qmimedatabase-cache for QNX 2014-01-16 16:11:04 +01:00
plugin Don't store QLibraryPrivate with empty file names in the global store 2014-07-23 17:50:31 +02:00
statemachine Export QStateMachine running property. 2014-06-26 09:32:15 +02:00
thread Merge remote-tracking branch 'origin/5.3' into dev 2014-07-03 23:56:45 +02:00
tools Rewrite QRingBuffer 2014-07-24 17:31:20 +02:00
xml Include the duplicated attribute name in the error message 2014-05-06 01:20:19 +02:00
corelib.pro iOS: Enable building of basic tests 2014-01-22 12:35:17 +01:00