There won't ever be a Qt 4.9...
authorManuel Nickschas <sputnick@quassel-irc.org>
Wed, 29 Jan 2014 20:54:25 +0000 (21:54 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 29 Jan 2014 21:01:31 +0000 (22:01 +0100)
... and this should actually have been a check for Qt 4.7+.

src/common/remotepeer.cpp

index 3ac55d1..fad05b9 100644 (file)
@@ -168,7 +168,7 @@ void RemotePeer::handle(const HeartBeat &heartBeat)
 void RemotePeer::handle(const HeartBeatReply &heartBeatReply)
 {
     _heartBeatCount = 0;
-#if QT_VERSION >= 0x040900
+#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);