X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtgui%2Fstyle.cpp;h=67e53a8155574c5be726b34dc3c4f02d7e979cb1;hp=87af6787711849d9914a1312f94376a2f650dfb1;hb=6d021114c9dbcccbfe5e7c485c8e705404f35123;hpb=de1613db2dd9623aa650f7217eb718381bb642e3 diff --git a/src/qtgui/style.cpp b/src/qtgui/style.cpp index 87af6787..67e53a81 100644 --- a/src/qtgui/style.cpp +++ b/src/qtgui/style.cpp @@ -160,10 +160,10 @@ void Style::init() { * describing the formats of the string. * \param s string in internal format (% style format codes) */ -Style::FormattedString Style::internalToFormatted(QString s) { +Style::StyledString Style::formattedToStyled(QString s) { QHash toggles; QString p; - FormattedString sf; + StyledString sf; QTextLayout::FormatRange rng; rng.format = formats["default"]; rng.start = 0; rng.length = -1; sf.formats.append(rng); toggles["default"] = sf.formats.count() - 1;