X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fstyledlabel.cpp;h=059ab698f7b63a8be943fabe678374375a7cae4c;hp=dc13660e9f4cda388c34735ebfecaddbe53186aa;hb=ac7a58dd970833da2336f6ce035ec55515bac0f1;hpb=258df63876c8b2b5f3ff14a6fbae14ea0b713457 diff --git a/src/uisupport/styledlabel.cpp b/src/uisupport/styledlabel.cpp index dc13660e..059ab698 100644 --- a/src/uisupport/styledlabel.cpp +++ b/src/uisupport/styledlabel.cpp @@ -122,8 +122,8 @@ void StyledLabel::setText(const QString &text) { UiStyle *style = GraphicalUi::uiStyle(); - UiStyle::StyledString sstr = style->styleString(style->mircToInternal(text), UiStyle::PlainMsg); - QList layoutList = style->toTextLayoutList(sstr.formatList, sstr.plainText.length(), 0); + UiStyle::StyledString sstr = style->styleString(style->mircToInternal(text), UiStyle::FormatType::PlainMsg); + QList layoutList = style->toTextLayoutList(sstr.formatList, sstr.plainText.length(), UiStyle::MessageLabel::None); // Use default font rather than the style's QTextLayout::FormatRange fmtRange;