From 56cbcdcf9444e69e6984a2b11b50422356177279 Mon Sep 17 00:00:00 2001 From: leha-bot Date: Wed, 11 Apr 2018 15:38:56 +0300 Subject: [PATCH] Get rid of qharfbuzz_p private dependency It's used for weird conversion from "QChar::Script" to internal HB_Script and back. Looks like it was in old Qt on this mirror link: https://git.merproject.org/mer-core/qtbase/commit/39b4955da3afca252dfc58c2a1395446207d89e4?view=parallel Related to #96 #27 #16 --- Telegram/SourceFiles/ui/text/text.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Telegram/SourceFiles/ui/text/text.cpp b/Telegram/SourceFiles/ui/text/text.cpp index 808f169be..2900d975f 100644 --- a/Telegram/SourceFiles/ui/text/text.cpp +++ b/Telegram/SourceFiles/ui/text/text.cpp @@ -20,7 +20,6 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org */ #include "ui/text/text.h" -#include #include "core/click_handler_types.h" #include "ui/text/text_block.h" @@ -1806,7 +1805,6 @@ private: } else { analysis->flags = QScriptAnalysis::None; } - analysis->script = hbscript_to_script(script_to_hbscript(analysis->script)); // retain the old behavior ++start; ++analysis; }