Differential D13434 Diff 36441 net-im/telegram-desktop/files/patch-Telegram_SourceFiles_ui_text_text.cpp
Changeset View
Changeset View
Standalone View
Standalone View
net-im/telegram-desktop/files/patch-Telegram_SourceFiles_ui_text_text.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.cpp.orig 2017-09-05 17:38:38 UTC | |||||
+++ Telegram/SourceFiles/ui/text/text.cpp | |||||
@@ -1689,11 +1689,11 @@ private: | |||||
if (item == -1) | |||||
return; | |||||
-#ifdef OS_MAC_OLD | |||||
+#if defined(OS_MAC_OLD) || QT_VERSION < QT_VERSION_CHECK(5, 6, 0) | |||||
auto end = _e->findItem(line.from + line.length - 1); | |||||
-#else // OS_MAC_OLD | |||||
+#else | |||||
auto end = _e->findItem(line.from + line.length - 1, item); | |||||
-#endif // OS_MAC_OLD | |||||
+#endif | |||||
auto blockIndex = _lineStartBlock; | |||||
auto currentBlock = _t->_blocks[blockIndex].get(); |