2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Replaced some qstr with u""_q literal.

This commit is contained in:
23rd
2022-11-27 00:20:17 +03:00
parent 22dc7023fc
commit 2acedca6b7
99 changed files with 477 additions and 480 deletions

View File

@@ -1993,15 +1993,15 @@ void StickersBox::Inner::AddressField::correctValue(
auto newText = now;
auto newCursor = nowCursor;
auto removeFromBeginning = {
qstr("http://"),
qstr("https://"),
qstr("www.t.me/"),
qstr("www.telegram.me/"),
qstr("www.telegram.dog/"),
qstr("t.me/"),
qstr("telegram.me/"),
qstr("telegram.dog/"),
qstr("addstickers/"),
u"http://"_q,
u"https://"_q,
u"www.t.me/"_q,
u"www.telegram.me/"_q,
u"www.telegram.dog/"_q,
u"t.me/"_q,
u"telegram.me/"_q,
u"telegram.dog/"_q,
u"addstickers/"_q,
};
for (auto &removePhrase : removeFromBeginning) {
if (newText.startsWith(removePhrase)) {