diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-04-23 08:46:05 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-23 19:20:19 +0200 |
commit | 18f4da0d902b23a8d520ff2d9c6de915730b3ce0 (patch) | |
tree | 3824b9d3d42314c82d146c16b9bc7e1936d943f5 | |
parent | e9e817accbabadc766263bc231694506f6d04c82 (diff) |
Removed unused QUrlPrivate::clear()
The function is not used anymore.
Change-Id: Idfdc0505358421a866b15e2ad322679a1808e223
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
-rw-r--r-- | src/corelib/io/qurl.cpp | 18 | ||||
-rw-r--r-- | src/corelib/io/qurl_p.h | 1 |
2 files changed, 0 insertions, 19 deletions
diff --git a/src/corelib/io/qurl.cpp b/src/corelib/io/qurl.cpp index b6667d6790..d9806292a2 100644 --- a/src/corelib/io/qurl.cpp +++ b/src/corelib/io/qurl.cpp @@ -246,24 +246,6 @@ QUrlPrivate::QUrlPrivate(const QUrlPrivate ©) { } -void QUrlPrivate::clear() -{ - scheme.clear(); - userName.clear(); - password.clear(); - host.clear(); - port = -1; - path.clear(); - query.clear(); - fragment.clear(); - - errorCode = NoError; - errorSupplement = 0; - sectionIsPresent = 0; - sectionHasError = 0; -} - - // From RFC 3896, Appendix A Collected ABNF for URI // URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] //[...] diff --git a/src/corelib/io/qurl_p.h b/src/corelib/io/qurl_p.h index 201ee66238..3a0d80d7ef 100644 --- a/src/corelib/io/qurl_p.h +++ b/src/corelib/io/qurl_p.h @@ -108,7 +108,6 @@ public: QUrlPrivate(const QUrlPrivate ©); void parse(const QString &url, QUrl::ParsingMode parsingMode); - void clear(); bool isEmpty() const { return sectionIsPresent == 0 && port == -1 && path.isEmpty(); } |