aports/testing/telegram-desktop/0015-revert-headers.patch

41 lines
1.3 KiB
Diff

diff --git a/Telegram/SourceFiles/ui/text/text.h b/Telegram/SourceFiles/ui/text/text.h
index 537c0b6..7906b0e 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 "core/click_handler.h"
#include "base/flags.h"
-#include <private/qfixed_p.h>
+#include <private/qfontengine_p.h>
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 c7b3fde..9637a2e 100644
--- a/Telegram/SourceFiles/ui/text/text_block.cpp
+++ b/Telegram/SourceFiles/ui/text/text_block.cpp
@@ -9,8 +9,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "core/crash_reports.h"
-#include <private/qfontengine_p.h>
-
// 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 a20b812..38e1e04 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 <private/qfixed_p.h>
+#include <private/qfontengine_p.h>
namespace Ui {
namespace Text {