2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-02 07:25:46 +00:00

Preload chats in support switch.

This commit is contained in:
John Preston
2022-02-05 18:15:24 +03:00
parent 0aa20b4479
commit d89d8b09da
12 changed files with 200 additions and 12 deletions

View File

@@ -1685,6 +1685,14 @@ void Widget::updateForwardBar() {
update();
}
RowDescriptor Widget::resolveChatNext(RowDescriptor from) const {
return _inner->resolveChatNext(from);
}
RowDescriptor Widget::resolveChatPrevious(RowDescriptor from) const {
return _inner->resolveChatPrevious(from);
}
void Widget::keyPressEvent(QKeyEvent *e) {
if (e->key() == Qt::Key_Escape) {
if (_openedFolder) {