X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Fuistyle.cpp;h=c719dddf1e7c9d5582e22d8ccbdb7fa857794024;hb=c0d6dc0dec628f2e143e37ecc95cec45e636f8a5;hp=5ef37ae21aa43f1e2a97e29d0f04e2ed0a93067a;hpb=c1cf157116de7fc3da96203aa6f03c38c7ebb650;p=quassel.git diff --git a/src/uisupport/uistyle.cpp b/src/uisupport/uistyle.cpp index 5ef37ae2..c719dddf 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-2020 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++) {