diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2020-08-31 14:02:27 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2020-09-05 02:08:29 +0200 |
commit | 3d7d8346ddfc6651b5d52556777b7d02b7448a16 (patch) | |
tree | 9c951f13845e89e62bfea5a8ef9fe980a5e7578f /src/corelib/text | |
parent | db61425225013b720a174da4c1766f3ff90d5cb8 (diff) |
Remove some comments that are no longer relevant
Task-number: QTBUG-85700
Change-Id: I5ce368e8edca2b9483a0f0ef34bc9eb6b4e44574
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/text')
-rw-r--r-- | src/corelib/text/qstring.cpp | 5 |
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) |