X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Feventstringifier.cpp;h=943727cde6990adc5490880730a7c512b96f81db;hp=5cb3fd9e5d479651d40e80d26ba7a93d2b8693b8;hb=4ff76cab24698482ce759cb40a903b9bc26c8fae;hpb=0d9dc15a16491d1dc9232f7f75fcc461977f70a2 diff --git a/src/core/eventstringifier.cpp b/src/core/eventstringifier.cpp index 5cb3fd9e..943727cd 100644 --- a/src/core/eventstringifier.cpp +++ b/src/core/eventstringifier.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2014 by the Quassel Project * + * Copyright (C) 2005-2015 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -734,6 +734,6 @@ void EventStringifier::handleCtcpPing(CtcpEvent *e) defaultHandler(e->ctcpCmd(), e); else { displayMsg(e, Message::Server, tr("Received CTCP-PING answer from %1 with %2 milliseconds round trip time") - .arg(nickFromMask(e->prefix())).arg(QDateTime::fromTime_t(e->param().toInt()).msecsTo(e->timestamp()))); + .arg(nickFromMask(e->prefix())).arg(QDateTime::fromMSecsSinceEpoch(e->param().toULongLong()).msecsTo(e->timestamp()))); } }