mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Slightly improved process of switching between chats filters view types.
This commit is contained in:
@@ -129,6 +129,7 @@ public:
|
||||
[[nodiscard]] RowDescriptor resolveChatNext(RowDescriptor from = {}) const;
|
||||
[[nodiscard]] RowDescriptor resolveChatPrevious(RowDescriptor from = {}) const;
|
||||
void updateHasFocus(not_null<QWidget*> focused);
|
||||
void toggleFiltersMenu(bool value);
|
||||
|
||||
// Float player interface.
|
||||
bool floatPlayerHandleWheelEvent(QEvent *e) override;
|
||||
@@ -317,6 +318,8 @@ private:
|
||||
std::unique_ptr<Ui::RequestsBar> _forumRequestsBar;
|
||||
std::unique_ptr<HistoryView::ContactStatus> _forumReportBar;
|
||||
|
||||
base::unique_qptr<Ui::RpWidget> _chatFilters;
|
||||
|
||||
object_ptr<Ui::ElasticScroll> _scroll;
|
||||
QPointer<InnerWidget> _inner;
|
||||
std::unique_ptr<Suggestions> _suggestions;
|
||||
@@ -390,8 +393,6 @@ private:
|
||||
|
||||
QPixmap _widthAnimationCache;
|
||||
|
||||
Ui::RpWidget *_chatFilters = nullptr;
|
||||
|
||||
int _topDelta = 0;
|
||||
|
||||
std::unique_ptr<Widget> _childList;
|
||||
|
Reference in New Issue
Block a user