From b9d3ba621eb8af638af46c6b3cfd7a8330bf0dd5 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 9 Jul 2019 15:24:36 +0200 Subject: [PATCH] Change some private header includes. --- Telegram/SourceFiles/ui/text/text.cpp | 1 + Telegram/SourceFiles/ui/text/text.h | 2 +- Telegram/SourceFiles/ui/text/text_block.cpp | 2 ++ Telegram/SourceFiles/ui/text/text_block.h | 2 +- 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/ui/text/text.cpp b/Telegram/SourceFiles/ui/text/text.cpp index 87bece1c8..94997c0c0 100644 --- a/Telegram/SourceFiles/ui/text/text.cpp +++ b/Telegram/SourceFiles/ui/text/text.cpp @@ -16,6 +16,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "boxes/confirm_box.h" #include "mainwindow.h" +#include #include namespace Ui { diff --git a/Telegram/SourceFiles/ui/text/text.h b/Telegram/SourceFiles/ui/text/text.h index dfff476a9..86b265a73 100644 --- a/Telegram/SourceFiles/ui/text/text.h +++ b/Telegram/SourceFiles/ui/text/text.h @@ -11,7 +11,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "ui/text/text_entity.h" #include "base/flags.h" -#include +#include static const QChar TextCommand(0x0010); enum TextCommands { diff --git a/Telegram/SourceFiles/ui/text/text_block.cpp b/Telegram/SourceFiles/ui/text/text_block.cpp index 9637a2e07..c7b3fdead 100644 --- a/Telegram/SourceFiles/ui/text/text_block.cpp +++ b/Telegram/SourceFiles/ui/text/text_block.cpp @@ -9,6 +9,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "core/crash_reports.h" +#include + // COPIED FROM qtextlayout.cpp AND MODIFIED namespace Ui { namespace Text { diff --git a/Telegram/SourceFiles/ui/text/text_block.h b/Telegram/SourceFiles/ui/text/text_block.h index 38e1e0446..a20b8123c 100644 --- a/Telegram/SourceFiles/ui/text/text_block.h +++ b/Telegram/SourceFiles/ui/text/text_block.h @@ -7,7 +7,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL */ #pragma once -#include +#include namespace Ui { namespace Text {