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()) {
|
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…
Reference in New Issue
Block a user