From c33ff2bababe9a98aa939de79424c127dccef79b Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 3 Jun 2020 19:04:13 +0400 Subject: [PATCH] Fix build with Qt 5.6.2. --- ui/text/text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/text/text.cpp b/ui/text/text.cpp index 8b9b17a..d743bf8 100644 --- a/ui/text/text.cpp +++ b/ui/text/text.cpp @@ -934,7 +934,7 @@ void Parser::finalize(const TextParseOptions &options) { } } _t->_links.squeeze(); - _t->_blocks.shrink_to_fit(); + _t->_blocks.squeeze(); _t->_text.squeeze(); }