From 5fa016f28489cb175f8a2abd53988cd7d6892f58 Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Mon, 29 Jun 2020 13:26:03 +0200 Subject: [PATCH] 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 --- src/corelib/io/qurlidna.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {