Fix issue with "Topic set" message
authorManuel Nickschas <sputnick@quassel-irc.org>
Tue, 19 Feb 2013 20:40:40 +0000 (21:40 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Tue, 19 Feb 2013 20:40:40 +0000 (21:40 +0100)
Yeah, those parens can be confusing.

src/core/eventstringifier.cpp

index 706abb5..26a2bbe 100644 (file)
@@ -615,7 +615,7 @@ void EventStringifier::processIrcEvent333(IrcEvent *e)
     QDateTime topicSetTime = QDateTime::fromTime_t(e->params()[2].toInt());
     displayMsg(e, Message::Topic, tr("Topic set by %1 on %2")
         .arg(e->params()[1],
     QDateTime topicSetTime = QDateTime::fromTime_t(e->params()[2].toInt());
     displayMsg(e, Message::Topic, tr("Topic set by %1 on %2")
         .arg(e->params()[1],
-            QLocale().toString(topicSetTime, QLocale().dateTimeFormat()), QString(), channel));
+            QLocale().toString(topicSetTime, QLocale().dateTimeFormat())), QString(), channel);
 }
 
 
 }