From 9d98682089300772750f538917f471f0d9d02113 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Wed, 5 Feb 2020 17:54:52 +0300 Subject: [PATCH] Removed unnecessary includes from emoji sets and dictionaries managers. --- .../boxes/dictionaries_manager.cpp | 23 ++++++------------- .../chat_helpers/emoji_sets_manager.cpp | 2 -- 2 files changed, 7 insertions(+), 18 deletions(-) diff --git a/Telegram/SourceFiles/boxes/dictionaries_manager.cpp b/Telegram/SourceFiles/boxes/dictionaries_manager.cpp index 9d9fc461c..9afbf9c86 100644 --- a/Telegram/SourceFiles/boxes/dictionaries_manager.cpp +++ b/Telegram/SourceFiles/boxes/dictionaries_manager.cpp @@ -9,29 +9,20 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #ifndef TDESKTOP_DISABLE_SPELLCHECK -#include "mtproto/dedicated_file_loader.h" -#include "ui/wrap/vertical_layout.h" -#include "ui/wrap/fade_wrap.h" -#include "ui/widgets/buttons.h" -#include "ui/widgets/labels.h" -#include "ui/wrap/slide_wrap.h" -#include "ui/effects/animations.h" -#include "ui/effects/radial_animation.h" -#include "lang/lang_keys.h" -#include "base/zlib_help.h" +#include "chat_helpers/spellchecker_common.h" #include "core/application.h" #include "main/main_account.h" #include "main/main_session.h" #include "mainwidget.h" -#include "app.h" +#include "mtproto/dedicated_file_loader.h" #include "styles/style_layers.h" #include "styles/style_settings.h" #include "styles/style_boxes.h" -#include "styles/style_chat_helpers.h" - -#include "chat_helpers/spellchecker_common.h" - -#include +#include "ui/wrap/vertical_layout.h" +#include "ui/widgets/buttons.h" +#include "ui/widgets/labels.h" +#include "ui/wrap/slide_wrap.h" +#include "ui/effects/animations.h" namespace Ui { namespace { diff --git a/Telegram/SourceFiles/chat_helpers/emoji_sets_manager.cpp b/Telegram/SourceFiles/chat_helpers/emoji_sets_manager.cpp index 50c52c215..13709bc51 100644 --- a/Telegram/SourceFiles/chat_helpers/emoji_sets_manager.cpp +++ b/Telegram/SourceFiles/chat_helpers/emoji_sets_manager.cpp @@ -15,8 +15,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "ui/effects/animations.h" #include "ui/effects/radial_animation.h" #include "ui/emoji_config.h" -#include "lang/lang_keys.h" -#include "base/zlib_help.h" #include "core/application.h" #include "main/main_account.h" #include "mainwidget.h"