diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-06-29 13:26:03 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-06-30 18:54:57 +0200 |
commit | 5fa016f28489cb175f8a2abd53988cd7d6892f58 (patch) | |
tree | 471ca1d47bcf6c252e891853562745d3c6523b9e | |
parent | 6ed9b484da68eed2e580c8de5c88e9831cdcb7a2 (diff) |
QUrl: do not retest if a codepoint is less than 0xFFFF
It's already tested in the surrounding if.
Change-Id: I37e13406cfd4865731ce06ed097c03294a75c592
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
-rw-r--r-- | src/corelib/io/qurlidna.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qurlidna.cpp b/src/corelib/io/qurlidna.cpp index f2785fc279..fb74fc7a64 100644 --- a/src/corelib/io/qurlidna.cpp +++ b/src/corelib/io/qurlidna.cpp @@ -1525,7 +1525,7 @@ namespace { || (uc >= 0xE000 && uc <= 0xF8FF) || (uc >= 0xFDD0 && uc <= 0xFDEF) || uc == 0xFEFF - || (uc >= 0xFFF9 && uc <= 0xFFFF))) { + || uc >= 0xFFF9)) { return false; } } else { |