[Pkg-owncloud-commits] [owncloud-client] 305/498: Fix test build.

Sandro Knauß hefee-guest at moszumanska.debian.org
Tue Aug 11 14:49:01 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 89df528090049fd640d4ddcc3a3eb95f02eaa5a0
Author: Christian Kamm <kamm at incasoftware.de>
Date:   Wed Jul 15 09:26:39 2015 +0200

    Fix test build.
    
    The older moc doesn't expand macros and wouldn't evaluate
    QT_VERSION_CHECK.
---
 test/testfolderman.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/testfolderman.h b/test/testfolderman.h
index cb5b93e..5889c58 100644
--- a/test/testfolderman.h
+++ b/test/testfolderman.h
@@ -8,7 +8,7 @@
 #pragma once
 
 
-#if QT_VERSION >= QT_VERSION_CHECK(5, 1, 0)
+#if QT_VERSION >= 0x050100
 #include <QTemporaryDir>
 #endif
 #include <QtTest>
@@ -38,7 +38,7 @@ class TestFolderMan: public QObject
 private slots:
     void testCheckPathValidityForNewFolder()
     {
-#if QT_VERSION >= QT_VERSION_CHECK(5, 1, 0)
+#if QT_VERSION >= 0x050100
         QTemporaryDir dir;
         QVERIFY(dir.isValid());
         QDir dir2(dir.path());

-- 
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