X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fqssparser.cpp;h=2aa09ffd1456563f373a63b4c031f89fc592ee59;hp=dd3d7d55df2fabf89cbef07799435fcbd03be52e;hb=76ff3775486d1f813d932adf38a53b45966eb274;hpb=426c0a2e8bef92d3100339e6f588c641c4684d98 diff --git a/src/uisupport/qssparser.cpp b/src/uisupport/qssparser.cpp index dd3d7d55..2aa09ffd 100644 --- a/src/uisupport/qssparser.cpp +++ b/src/uisupport/qssparser.cpp @@ -181,10 +181,12 @@ quint64 QssParser::parseFormatType(const QString &decl) { fmtType |= UiStyle::PlainMsg; else if(msgType == "notice") fmtType |= UiStyle::NoticeMsg; - else if(msgType == "server") - fmtType |= UiStyle::ServerMsg; - else if(msgType == "error") - fmtType |= UiStyle::ErrorMsg; + else if(msgType == "action") + fmtType |= UiStyle::ActionMsg; + else if(msgType == "nick") + fmtType |= UiStyle::NickMsg; + else if(msgType == "mode") + fmtType |= UiStyle::ModeMsg; else if(msgType == "join") fmtType |= UiStyle::JoinMsg; else if(msgType == "part") @@ -193,12 +195,16 @@ quint64 QssParser::parseFormatType(const QString &decl) { fmtType |= UiStyle::QuitMsg; else if(msgType == "kick") fmtType |= UiStyle::KickMsg; - else if(msgType == "rename") - fmtType |= UiStyle::RenameMsg; - else if(msgType == "mode") - fmtType |= UiStyle::ModeMsg; - else if(msgType == "action") - fmtType |= UiStyle::ActionMsg; + else if(msgType == "kill") + fmtType |= UiStyle::KillMsg; + else if(msgType == "server") + fmtType |= UiStyle::ServerMsg; + else if(msgType == "info") + fmtType |= UiStyle::InfoMsg; + else if(msgType == "error") + fmtType |= UiStyle::ErrorMsg; + else if(msgType == "daychange") + fmtType |= UiStyle::DayChangeMsg; else { qWarning() << Q_FUNC_INFO << tr("Invalid message type in %1").arg(decl); }