QUrl: make sure setAuthority is consistent with setHost
authorPeter Hartmann <phartmann@rim.com>
Fri, 14 Dec 2012 18:55:36 +0000 (19:55 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 15 Dec 2012 04:43:41 +0000 (05:43 +0100)
commit21666e3857cc9d4c93c6179490c1df46a795de53
tree1d63c1f1eac3370f66b6c61bf79de6889f6a9399
parent01a05c104036b11b09ab827847cacb766ee533ad
QUrl: make sure setAuthority is consistent with setHost

... which is important for an empty but non-null authority.

In Qt5 this is already working.

Change-Id: I7d389037f71320c6f06897b220633311c3611eea
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/corelib/io/qurl.cpp
tests/auto/qurl/tst_qurl.cpp