X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fuistyle.cpp;fp=src%2Fuisupport%2Fuistyle.cpp;h=19f6e16595565d93f0b6e3cb69699db337366f1a;hp=6e0291c1c5dfbd94b7ff5e89efbd6e02a9c09767;hb=3dd76d9373fb46b7be3f7f963b3d3a38ded63ae5;hpb=3fc0adfd0e7e8289d0af45358eedf2943a1839d7 diff --git a/src/uisupport/uistyle.cpp b/src/uisupport/uistyle.cpp index 6e0291c1..19f6e165 100644 --- a/src/uisupport/uistyle.cpp +++ b/src/uisupport/uistyle.cpp @@ -583,9 +583,9 @@ QString UiStyle::formatCode(FormatType ftype) return _formatCodes.key(ftype); } -QList UiStyle::toTextLayoutList(const FormatList& formatList, int textLength, MessageLabel messageLabel) const +UiStyle::FormatContainer UiStyle::toTextLayoutList(const FormatList& formatList, int textLength, MessageLabel messageLabel) const { - QList formatRanges; + UiStyle::FormatContainer formatRanges; QTextLayout::FormatRange range; size_t i = 0; for (i = 0; i < formatList.size(); i++) {