summaryrefslogtreecommitdiffstats
path: root/src/corelib/text
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/text')
-rw-r--r--src/corelib/text/qstring.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/corelib/text/qstring.cpp b/src/corelib/text/qstring.cpp
index b7344353ec..e00b45f3f2 100644
--- a/src/corelib/text/qstring.cpp
+++ b/src/corelib/text/qstring.cpp
@@ -6320,7 +6320,6 @@ QString QString::toUpper_helper(QString &str)
return QUnicodeTables::convertCase(str, QUnicodeTables::UpperCase);
}
-// ### Qt 6: Consider whether this function shouldn't be removed See task 202871.
/*!
\since 5.5
@@ -9763,7 +9762,7 @@ template <typename Haystack, typename Needle>
bool qt_starts_with_impl(Haystack haystack, Needle needle, Qt::CaseSensitivity cs) noexcept
{
if (haystack.isNull())
- return needle.isNull(); // historical behavior, consider changing in ### Qt 6.
+ return needle.isNull();
const auto haystackLen = haystack.size();
const auto needleLen = needle.size();
if (haystackLen == 0)
@@ -9836,7 +9835,7 @@ template <typename Haystack, typename Needle>
bool qt_ends_with_impl(Haystack haystack, Needle needle, Qt::CaseSensitivity cs) noexcept
{
if (haystack.isNull())
- return needle.isNull(); // historical behavior, consider changing in ### Qt 6.
+ return needle.isNull();
const auto haystackLen = haystack.size();
const auto needleLen = needle.size();
if (haystackLen == 0)