From 600b1a72c1bd4c6c3cc8c7d20f887941dde3f0b5 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Thu, 19 Apr 2018 17:00:52 +0200 Subject: [PATCH] Fix test: QTemporaryDir::filePath was added in Qt 5.9 --- test/csync/csync_tests/check_csync_exclude.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/csync/csync_tests/check_csync_exclude.cpp b/test/csync/csync_tests/check_csync_exclude.cpp index fa62df538..31af71ad0 100644 --- a/test/csync/csync_tests/check_csync_exclude.cpp +++ b/test/csync/csync_tests/check_csync_exclude.cpp @@ -711,7 +711,7 @@ static void check_placeholder_exclude(void **state) QByteArray expected = "\n#!version < 2.5.0\n*.owncloud\n"; // Case 1: No file exists yet, parent dirs are missing too - path = tempDir.filePath("foo/bar/exclude.lst"); + path = tempDir.path() + "/foo/bar/exclude.lst"; ExcludedFiles::setupPlaceholderExclude(path, ".owncloud"); assert_true(QFile::exists(path)); -- 2.30.2