mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Explicit QString instantiation
This commit is contained in:
parent
45c3e00d9c
commit
27b315018c
|
@ -116,7 +116,7 @@ bool startsWithPort(QStringView string)
|
|||
// Simple sanitization method to strip characters that are not recognized by RFC 3986
|
||||
QString sanitizeUrl(const QString &unparsedString)
|
||||
{
|
||||
const QString allowedSpecialCharacters = "!#&+/:=?@-_.";
|
||||
const QString allowedSpecialCharacters = QString("!#&+/:=?@-_.");
|
||||
|
||||
QString sanitizedUrl;
|
||||
for (const QChar &c : unparsedString)
|
||||
|
|
Loading…
Reference in a new issue