Remove the annoying qWarning when QUrl::setPort is out of range
authorThiago Macieira <thiago.macieira@intel.com>
Thu, 20 Sep 2012 13:46:41 +0000 (15:46 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 2 Oct 2012 20:34:42 +0000 (22:34 +0200)
commitceca141d0cfb210859db28c8f7725790fe23a767
tree78a603aaae817f7c4df993b46454ec9e881d4ee8
parentfe1541b26883b7ca594012da4621ad8b8b22ec2c
Remove the annoying qWarning when QUrl::setPort is out of range

That's what we have QUrl::errorString() for. This will become evident
especially now that QUrl::toString() / toEncoded() return empty if
there are errors.

Change-Id: I64a84e9c6ee57c0fc38cc0c58f5286ddc1248d1f
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
Reviewed-by: David Faure <faure@kde.org>
src/corelib/io/qurl.cpp
tests/auto/corelib/io/qurl/tst_qurl.cpp