Differential D13434 Diff 36441 net-im/telegram-desktop/files/patch-Telegram_SourceFiles_ui_text_text__block.cpp
Changeset View
Changeset View
Standalone View
Standalone View
net-im/telegram-desktop/files/patch-Telegram_SourceFiles_ui_text_text__block.cpp
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- Telegram/SourceFiles/ui/text/text_block.cpp.orig 2017-09-05 17:38:38 UTC | |||||
+++ Telegram/SourceFiles/ui/text/text_block.cpp | |||||
@@ -330,7 +330,7 @@ TextBlock::TextBlock(const style::font & | |||||
SignalHandlers::setCrashAnnotationRef("CrashString", &part); | |||||
QStackTextEngine engine(part, blockFont->f); | |||||
- QTextLayout layout(&engine); | |||||
+ QTextLayout layout(part, blockFont->f); | |||||
layout.beginLayout(); | |||||
layout.createLine(); | |||||