aboutsummaryrefslogtreecommitdiffstats
path: root/testing/telegram-desktop/0015-revert-headers.patch
blob: 7a0208d44a0bef774b3eae141a6a8476e081b17a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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 {