fix: incompatible operand types

This commit is contained in:
Zentino 2024-12-18 03:02:48 +08:00
commit e1c9bca999
No known key found for this signature in database
GPG key ID: ADEEC991C0DEE42A

View file

@ -654,7 +654,7 @@ namespace
relativePath = relativePath.mid(1); relativePath = relativePath.mid(1);
const QString absoluteUrl = !host.isEmpty() const QString absoluteUrl = !host.isEmpty()
? (defaultScheme + u":" + host) : (normalizedBaseUrl + relativePath); ? QString(defaultScheme + u":" + host) : QString(normalizedBaseUrl + relativePath);
const QString fullMatch = match.captured(0); const QString fullMatch = match.captured(0);
const QString prefix = match.captured(1); const QString prefix = match.captured(1);
const QString suffix = match.captured(7); const QString suffix = match.captured(7);