mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Replaced some qstr with u""_q literal.
This commit is contained in:
@@ -2149,7 +2149,7 @@ void InnerWidget::parentGeometryChanged() {
|
||||
}
|
||||
|
||||
void InnerWidget::applyFilterUpdate(QString newFilter, bool force) {
|
||||
const auto mentionsSearch = (newFilter == qstr("@"));
|
||||
const auto mentionsSearch = (newFilter == u"@"_q);
|
||||
const auto words = mentionsSearch
|
||||
? QStringList(newFilter)
|
||||
: TextUtilities::PrepareSearchWords(newFilter);
|
||||
|
@@ -1729,7 +1729,7 @@ void Widget::searchFailed(
|
||||
SearchRequestType type,
|
||||
const MTP::Error &error,
|
||||
mtpRequestId requestId) {
|
||||
if (error.type() == qstr("SEARCH_QUERY_EMPTY")) {
|
||||
if (error.type() == u"SEARCH_QUERY_EMPTY"_q) {
|
||||
searchReceived(
|
||||
type,
|
||||
MTP_messages_messages(
|
||||
|
Reference in New Issue
Block a user