X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fuistyle.cpp;h=19f6e16595565d93f0b6e3cb69699db337366f1a;hp=5ef37ae21aa43f1e2a97e29d0f04e2ed0a93067a;hb=3dd76d9373fb46b7be3f7f963b3d3a38ded63ae5;hpb=c1cf157116de7fc3da96203aa6f03c38c7ebb650 diff --git a/src/uisupport/uistyle.cpp b/src/uisupport/uistyle.cpp index 5ef37ae2..19f6e165 100644 --- a/src/uisupport/uistyle.cpp +++ b/src/uisupport/uistyle.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * + * Copyright (C) 2005-2019 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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++) {