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:
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user