Removed unused QUrlPrivate::clear()
The function is not used anymore. Change-Id: Idfdc0505358421a866b15e2ad322679a1808e223 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
e9e817accb
commit
18f4da0d90
@ -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 ]
|
||||
//[...]
|
||||
|
@ -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(); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user