[Pkg-owncloud-commits] [owncloud-client] 16/175: Fix the Qt4 build

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Aug 8 10:36:21 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 1053153ec4360bc6184230fea8e88a996e1f2cde
Author: Jocelyn Turcotte <jturcotte at woboq.com>
Date:   Thu May 7 14:46:00 2015 +0200

    Fix the Qt4 build
    
    Following a6500d80686b7b04aa0a9fbf2a3c084b99dda488
    Qt4's moc doesn't expand macros and wouldn't evaluate QT_VERSION_CHECK.
---
 src/libsync/propagateupload.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libsync/propagateupload.h b/src/libsync/propagateupload.h
index f2e9b37..4bfbe30 100644
--- a/src/libsync/propagateupload.h
+++ b/src/libsync/propagateupload.h
@@ -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
 };

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list