mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-25 10:01:00 +00:00
Fix build with Xcode.
This commit is contained in:
parent
6b910e11e5
commit
6f64fea0b1
@ -1781,7 +1781,7 @@ void InnerWidget::mousePressReleased(
|
||||
}
|
||||
}
|
||||
if (auto activated = ClickHandler::unpressed()) {
|
||||
ActivateClickHandler(window(), activated, { button });
|
||||
ActivateClickHandler(window(), activated, ClickContext{ button });
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2691,6 +2691,12 @@ bool Widget::setSearchInChat(
|
||||
return true;
|
||||
}
|
||||
|
||||
bool Widget::setSearchInChat(
|
||||
Key chat,
|
||||
PeerData *from) {
|
||||
return setSearchInChat(chat, from, {});
|
||||
}
|
||||
|
||||
void Widget::clearSearchCache() {
|
||||
_searchCache.clear();
|
||||
_singleMessageSearch.clear();
|
||||
|
@ -182,8 +182,11 @@ private:
|
||||
[[nodiscard]] bool searchForTopicsRequired(const QString &query) const;
|
||||
bool setSearchInChat(
|
||||
Key chat,
|
||||
PeerData *from = nullptr,
|
||||
std::vector<Data::ReactionId> tags = {});
|
||||
PeerData *from,
|
||||
std::vector<Data::ReactionId> tags);
|
||||
bool setSearchInChat(
|
||||
Key chat,
|
||||
PeerData *from = nullptr);
|
||||
void showCalendar();
|
||||
void showSearchFrom();
|
||||
void showMainMenu();
|
||||
|
Loading…
Reference in New Issue
Block a user