Fix the Qt4 build
authorJocelyn Turcotte <jturcotte@woboq.com>
Thu, 7 May 2015 12:46:00 +0000 (14:46 +0200)
committerJocelyn Turcotte <jturcotte@woboq.com>
Thu, 7 May 2015 12:49:01 +0000 (14:49 +0200)
Following a6500d80686b7b04aa0a9fbf2a3c084b99dda488
Qt4's moc doesn't expand macros and wouldn't evaluate QT_VERSION_CHECK.

src/libsync/propagateupload.h

index f2e9b372b668220e8463733b8513ca1eac6551ca..4bfbe3036e0361cc131afd1f9a0e797ba56fdb5c 100644 (file)
@@ -51,7 +51,7 @@ public:
     void giveBandwidthQuota(qint64 bwq);
 
 signals:
-#if QT_VERSION < QT_VERSION_CHECK(5, 4, 2)
+#if QT_VERSION < 0x050402
     void wasReset();
 #endif
 
@@ -107,7 +107,7 @@ signals:
     void uploadProgress(qint64,qint64);
 
 private slots:
-#if QT_VERSION < QT_VERSION_CHECK(5, 4, 2)
+#if QT_VERSION < 0x050402
     void slotSoftAbort();
 #endif
 };