From 6793d2cc7c079e25a6a6b81d60573051360c8915 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Mon, 14 Mar 2022 17:50:24 +0300 Subject: [PATCH] Moved base::Timer to std::unique_ptr in DraggingScrollManager. --- Telegram/SourceFiles/history/history_inner_widget.h | 3 ++- Telegram/SourceFiles/history/view/history_view_list_widget.h | 3 ++- Telegram/lib_ui | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Telegram/SourceFiles/history/history_inner_widget.h b/Telegram/SourceFiles/history/history_inner_widget.h index 0691e117ff..b511d1679a 100644 --- a/Telegram/SourceFiles/history/history_inner_widget.h +++ b/Telegram/SourceFiles/history/history_inner_widget.h @@ -7,9 +7,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL */ #pragma once +#include "base/timer.h" #include "ui/rp_widget.h" #include "ui/effects/animations.h" -#include "ui/dragging_scroll_manager.h" // Has base/timer.h. +#include "ui/dragging_scroll_manager.h" #include "ui/widgets/tooltip.h" #include "ui/widgets/scroll_area.h" #include "history/view/history_view_top_bar_widget.h" diff --git a/Telegram/SourceFiles/history/view/history_view_list_widget.h b/Telegram/SourceFiles/history/view/history_view_list_widget.h index 1b682c4580..b1ffcfedfc 100644 --- a/Telegram/SourceFiles/history/view/history_view_list_widget.h +++ b/Telegram/SourceFiles/history/view/history_view_list_widget.h @@ -7,9 +7,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL */ #pragma once +#include "base/timer.h" #include "ui/rp_widget.h" #include "ui/effects/animations.h" -#include "ui/dragging_scroll_manager.h" // Has base/timer.h. +#include "ui/dragging_scroll_manager.h" #include "ui/widgets/tooltip.h" #include "mtproto/sender.h" #include "data/data_messages.h" diff --git a/Telegram/lib_ui b/Telegram/lib_ui index 6e6ba5a149..d27e4803a1 160000 --- a/Telegram/lib_ui +++ b/Telegram/lib_ui @@ -1 +1 @@ -Subproject commit 6e6ba5a14947242ae0de3296fd650a3b3338728e +Subproject commit d27e4803a130a262b84a54c915fc83f8c9bbe2f4