X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatlinemodelitem.cpp;fp=src%2Fqtui%2Fchatlinemodelitem.cpp;h=9ebc126498709cacfc929e6bf7335f7f201b4734;hp=a8e1ae038e96d03b95aee73cd7b07444e5bfff86;hb=3dd76d9373fb46b7be3f7f963b3d3a38ded63ae5;hpb=3fc0adfd0e7e8289d0af45358eedf2943a1839d7 diff --git a/src/qtui/chatlinemodelitem.cpp b/src/qtui/chatlinemodelitem.cpp index a8e1ae03..9ebc1264 100644 --- a/src/qtui/chatlinemodelitem.cpp +++ b/src/qtui/chatlinemodelitem.cpp @@ -200,7 +200,7 @@ void ChatLineModelItem::computeWrapList() const option.setWrapMode(QTextOption::NoWrap); layout.setTextOption(option); - layout.setAdditionalFormats(QtUi::style()->toTextLayoutList(_styledMsg.contentsFormatList(), length, messageLabel())); + UiStyle::setTextLayoutFormats(layout, QtUi::style()->toTextLayoutList(_styledMsg.contentsFormatList(), length, messageLabel())); layout.beginLayout(); QTextLine line = layout.createLine(); line.setNumColumns(length);