2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-04 00:25:17 +00:00

Updated TDesktop sources to 3.3

This commit is contained in:
RadRussianRus
2021-12-07 19:18:08 +03:00
581 changed files with 9855 additions and 5023 deletions

View File

@@ -286,7 +286,7 @@ Widget::Widget(
}, lifetime());
_cancelSearch->setClickedCallback([this] { onCancelSearch(); });
_jumpToDate->entity()->setClickedCallback([this] { showJumpToDate(); });
_jumpToDate->entity()->setClickedCallback([this] { showCalendar(); });
_chooseFromUser->entity()->setClickedCallback([this] { showSearchFrom(); });
rpl::single(
rpl::empty_value()
@@ -1463,9 +1463,9 @@ void Widget::clearSearchCache() {
cancelSearchRequest();
}
void Widget::showJumpToDate() {
void Widget::showCalendar() {
if (_searchInChat) {
controller()->showJumpToDate(_searchInChat, QDate());
controller()->showCalendar(_searchInChat, QDate());
}
}