X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fremotepeer.cpp;h=e8fa578d90f6bb0b001acef2954f4bee8288f408;hp=a3fb2879b766138ea49c33c4f157339e82c2126c;hb=d82f98b8cf9c7c83f3aab1d7f010ccf8bdd2c003;hpb=b65b9f7615165e8700a44d59b7275a55558dd45b diff --git a/src/common/remotepeer.cpp b/src/common/remotepeer.cpp index a3fb2879..e8fa578d 100644 --- a/src/common/remotepeer.cpp +++ b/src/common/remotepeer.cpp @@ -252,11 +252,7 @@ void RemotePeer::handle(const HeartBeat &heartBeat) void RemotePeer::handle(const HeartBeatReply &heartBeatReply) { _heartBeatCount = 0; -#if QT_VERSION >= 0x040700 emit lagUpdated(heartBeatReply.timestamp.msecsTo(QDateTime::currentDateTime().toUTC()) / 2); -#else - emit lagUpdated(heartBeatReply.timestamp.time().msecsTo(QDateTime::currentDateTime().toUTC().time()) / 2); -#endif }