X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtgui%2Fstyle.cpp;h=87af6787711849d9914a1312f94376a2f650dfb1;hp=54889868dfbf79936cd8ace762402fcfea215812;hb=de1613db2dd9623aa650f7217eb718381bb642e3;hpb=2ee32e7f7707349d12c98181bbe6842f6d19f60e diff --git a/src/qtgui/style.cpp b/src/qtgui/style.cpp index 54889868..87af6787 100644 --- a/src/qtgui/style.cpp +++ b/src/qtgui/style.cpp @@ -156,18 +156,6 @@ void Style::init() { formats["%DU"] = url; } -QString Style::mircToInternal(QString mirc) { - mirc.replace('%', "%%"); // escape % just to be sure - mirc.replace('\x02', "%B"); - mirc.replace('\x03', "%C"); - mirc.replace('\x0f', "%O"); - mirc.replace('\x12', "%R"); - mirc.replace('\x16', "%R"); - mirc.replace('\x1d', "%S"); - mirc.replace('\x1f', "%U"); - return mirc; -} - /** Returns a string stripped of format codes, and a list of FormatRange objects * describing the formats of the string. * \param s string in internal format (% style format codes)