From 10b32863ca84f9057098fe286ace58544151f5d2 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Wed, 14 Aug 2019 13:37:35 +0200 Subject: [PATCH] Tests: Fix compile Broke with e027ed5e964e3e9. Change-Id: Ic79537865f42c4d6190d262fcf73399ed42b3035 Reviewed-by: hjk --- tests/auto/utils/fileutils/tst_fileutils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/utils/fileutils/tst_fileutils.cpp b/tests/auto/utils/fileutils/tst_fileutils.cpp index 2102bd0f06f..e9e19fcfb7d 100644 --- a/tests/auto/utils/fileutils/tst_fileutils.cpp +++ b/tests/auto/utils/fileutils/tst_fileutils.cpp @@ -161,7 +161,7 @@ void tst_fileutils::fileName() QFETCH(QString, path); QFETCH(int, components); QFETCH(QString, result); - QCOMPARE(FilePath::fromString(path).fileName(components), result); + QCOMPARE(FilePath::fromString(path).fileNameWithPathComponents(components), result); } QTEST_APPLESS_MAIN(tst_fileutils)