mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix build with Xcode.
This commit is contained in:
parent
6b910e11e5
commit
6f64fea0b1
3 changed files with 12 additions and 3 deletions
|
@ -1781,7 +1781,7 @@ void InnerWidget::mousePressReleased(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (auto activated = ClickHandler::unpressed()) {
|
if (auto activated = ClickHandler::unpressed()) {
|
||||||
ActivateClickHandler(window(), activated, { button });
|
ActivateClickHandler(window(), activated, ClickContext{ button });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2691,6 +2691,12 @@ bool Widget::setSearchInChat(
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool Widget::setSearchInChat(
|
||||||
|
Key chat,
|
||||||
|
PeerData *from) {
|
||||||
|
return setSearchInChat(chat, from, {});
|
||||||
|
}
|
||||||
|
|
||||||
void Widget::clearSearchCache() {
|
void Widget::clearSearchCache() {
|
||||||
_searchCache.clear();
|
_searchCache.clear();
|
||||||
_singleMessageSearch.clear();
|
_singleMessageSearch.clear();
|
||||||
|
|
|
@ -182,8 +182,11 @@ private:
|
||||||
[[nodiscard]] bool searchForTopicsRequired(const QString &query) const;
|
[[nodiscard]] bool searchForTopicsRequired(const QString &query) const;
|
||||||
bool setSearchInChat(
|
bool setSearchInChat(
|
||||||
Key chat,
|
Key chat,
|
||||||
PeerData *from = nullptr,
|
PeerData *from,
|
||||||
std::vector<Data::ReactionId> tags = {});
|
std::vector<Data::ReactionId> tags);
|
||||||
|
bool setSearchInChat(
|
||||||
|
Key chat,
|
||||||
|
PeerData *from = nullptr);
|
||||||
void showCalendar();
|
void showCalendar();
|
||||||
void showSearchFrom();
|
void showSearchFrom();
|
||||||
void showMainMenu();
|
void showMainMenu();
|
||||||
|
|
Loading…
Add table
Reference in a new issue