2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 00:55:12 +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

@@ -44,8 +44,8 @@ using PeersMap = details::PeersMap;
using MediaData = details::MediaData;
bool IsGlobalLink(const QString &link) {
return link.startsWith(qstr("http://"), Qt::CaseInsensitive)
|| link.startsWith(qstr("https://"), Qt::CaseInsensitive);
return link.startsWith(u"http://"_q, Qt::CaseInsensitive)
|| link.startsWith(u"https://"_q, Qt::CaseInsensitive);
}
QByteArray NoFileDescription(Data::File::SkipReason reason) {