mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 21:15:55 +03:00
Fix test build.
The older moc doesn't expand macros and wouldn't evaluate QT_VERSION_CHECK.
This commit is contained in:
parent
92dc3047d0
commit
89df528090
1 changed files with 2 additions and 2 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue