mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fixed build with Qt6.
This commit is contained in:
@@ -242,8 +242,8 @@ HashOrCashtag IsHashOrCashtagSearchQuery(const QString &query) {
|
||||
}
|
||||
return HashOrCashtag::Hashtag;
|
||||
} else if (first == '$') {
|
||||
for (const auto &ch : trimmed.midRef(1)) {
|
||||
if (ch < 'A' || ch > 'Z') {
|
||||
for (auto it = trimmed.begin() + 1; it != trimmed.end(); ++it) {
|
||||
if ((*it) < 'A' || (*it) > 'Z') {
|
||||
return HashOrCashtag::None;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user