X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fuistyle.cpp;h=0e00d512c3291a704d709eb98dedb65c2801479a;hp=df23a62e52c5bf1a303c26e7001353bde1cbe93e;hb=b2169e5f4cbd3ce724c4808b62ddc2b8941219a5;hpb=4676ff82af669595edaf090c97a28161d67782a1 diff --git a/src/uisupport/uistyle.cpp b/src/uisupport/uistyle.cpp index df23a62e..0e00d512 100644 --- a/src/uisupport/uistyle.cpp +++ b/src/uisupport/uistyle.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2013 by the Quassel Project * + * Copyright (C) 2005-2014 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -572,6 +572,9 @@ QString UiStyle::mircToInternal(const QString &mirc_) case '\x0f': mirc += "%O"; break; + case '\x09': + mirc += " "; + break; case '\x12': case '\x16': mirc += "%R"; @@ -589,10 +592,6 @@ QString UiStyle::mircToInternal(const QString &mirc_) mirc += QChar(0x2400 + c.unicode()); } } else { - if (c == '\t') { - mirc += " "; - continue; - } if (c == '%') mirc += c; mirc += c; @@ -717,7 +716,7 @@ void UiStyle::StyledMessage::style() const case Message::DayChange: { //: Day Change Message - t = tr("{Day changed to %1}").arg(QLocale().toString(timestamp(), QLocale().dateFormat())); + t = tr("{Day changed to %1}").arg(timestamp().date().toString(Qt::DefaultLocaleLongDate)); } break; case Message::Topic: