From 100a44daef1efe95dfc1781dd509de1fc9af0041 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Fri, 22 Apr 2022 15:14:16 +0300 Subject: [PATCH] Removed unused includes from MultiSelect. --- Telegram/SourceFiles/ui/widgets/multi_select.cpp | 4 +++- Telegram/SourceFiles/ui/widgets/multi_select.h | 10 ++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Telegram/SourceFiles/ui/widgets/multi_select.cpp b/Telegram/SourceFiles/ui/widgets/multi_select.cpp index d0b8e4836..6f9860182 100644 --- a/Telegram/SourceFiles/ui/widgets/multi_select.cpp +++ b/Telegram/SourceFiles/ui/widgets/multi_select.cpp @@ -7,15 +7,17 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL */ #include "ui/widgets/multi_select.h" -#include "styles/style_widgets.h" #include "ui/widgets/buttons.h" #include "ui/widgets/input_fields.h" #include "ui/widgets/scroll_area.h" +#include "ui/effects/animations.h" #include "ui/effects/cross_animation.h" #include "ui/text/text_options.h" #include "ui/ui_utility.h" #include "lang/lang_keys.h" +#include + namespace Ui { namespace { diff --git a/Telegram/SourceFiles/ui/widgets/multi_select.h b/Telegram/SourceFiles/ui/widgets/multi_select.h index 3b100c35e..b3dc4cdaf 100644 --- a/Telegram/SourceFiles/ui/widgets/multi_select.h +++ b/Telegram/SourceFiles/ui/widgets/multi_select.h @@ -7,17 +7,15 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL */ #pragma once -#include "styles/style_widgets.h" -#include "ui/rp_widget.h" -#include "ui/effects/animations.h" #include "base/object_ptr.h" +#include "ui/rp_widget.h" -#include +namespace style { +struct MultiSelect; +} // namespace style namespace Ui { -class InputField; -class CrossButton; class ScrollArea; class MultiSelect : public RpWidget {