summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qurl.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2020-07-23 13:50:34 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2020-07-27 11:25:49 +0200
commitd3c8757731d0b0d9e7a6448f1d1c21997136a19d (patch)
treed9393c862c2456b86c3a77bd1cc783b0aa01382d /src/corelib/io/qurl.cpp
parentf144507829a39f9327ac1abe99c18e5f79e7ebcf (diff)
Purge redundant recoding of URL fragments from QByteArray
QUrl::fromEncodedComponent_helper() only existed to support some old methods deprecated since 5.0, that I recently removed. It was the only caller of qt_urlRecodeByteArray() aside from that function's own autotest. Both were private. Task-number: QTBUG-85700 Change-Id: I5d09fd44e768847ce51a1ae7043150922cb5314c Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/corelib/io/qurl.cpp')
-rw-r--r--src/corelib/io/qurl.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/corelib/io/qurl.cpp b/src/corelib/io/qurl.cpp
index a85bb0e58c..615c814e91 100644
--- a/src/corelib/io/qurl.cpp
+++ b/src/corelib/io/qurl.cpp
@@ -3013,17 +3013,6 @@ QByteArray QUrl::toPercentEncoding(const QString &input, const QByteArray &exclu
}
/*!
- \internal
- \since 5.0
- Used in the setEncodedXXX compatibility functions. Converts \a ba to
- QString form.
-*/
-QString QUrl::fromEncodedComponent_helper(const QByteArray &ba)
-{
- return qt_urlRecodeByteArray(ba);
-}
-
-/*!
\fn QByteArray QUrl::toPunycode(const QString &uc)
\obsolete
Returns a \a uc in Punycode encoding.