aboutsummaryrefslogtreecommitdiff
path: root/src/renderers/textstyleinstance.cpp
diff options
context:
space:
mode:
authorFelix (xq) Queißner <git@mq32.de>2021-03-07 11:58:37 +0100
committerFelix Queißner <felix@ib-queissner.de>2021-03-08 02:23:16 +0100
commit64e271dce2e5aca07abdca8e335b3f7cb9ba1114 (patch)
treee3aed2f5057f4db7eccc9505125c3a539ad543c1 /src/renderers/textstyleinstance.cpp
parent2e4bd9e8a1f0ee14fb58c91ae2d94bcb96c6cbce (diff)
Starts to implement new HTML renderer based on gumbo. Everything is a bit borked and only trivial documents work correctly.
Diffstat (limited to 'src/renderers/textstyleinstance.cpp')
-rw-r--r--src/renderers/textstyleinstance.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/renderers/textstyleinstance.cpp b/src/renderers/textstyleinstance.cpp
index 044953c..7a7822e 100644
--- a/src/renderers/textstyleinstance.cpp
+++ b/src/renderers/textstyleinstance.cpp
@@ -60,7 +60,6 @@ TextStyleInstance::TextStyleInstance(DocumentStyle const & themed_style)
preformatted_format.setIndent(themed_style.indent_p);
- heading_format.setLineHeight(themed_style.line_height_h,
- QTextBlockFormat::LineDistanceHeight);
+ heading_format.setLineHeight(themed_style.line_height_h, QTextBlockFormat::LineDistanceHeight);
heading_format.setIndent(themed_style.indent_h);
}