From 1ca6bbb3eeb57b35ac24eebbd7a37ee305de3999 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Fri, 20 May 2022 15:49:58 +0300 Subject: [PATCH] kio: use QDir::exists() to check for directory existence in test case Signed-off-by: Ivailo Monev --- kio/tests/jobtest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kio/tests/jobtest.cpp b/kio/tests/jobtest.cpp index fd9dbbd5..e06d7e19 100644 --- a/kio/tests/jobtest.cpp +++ b/kio/tests/jobtest.cpp @@ -1078,7 +1078,7 @@ void JobTest::deleteManyDirs(bool using_fast_path) bool ok = KIO::NetAccess::synchronousRun(job, 0); QVERIFY(ok); Q_FOREACH(const KUrl& dir, dirs) { - QVERIFY(!QFile::exists(dir.path())); + QVERIFY(!QDir(dir.path()).exists()); } kDebug() << "Deleted" << numDirs << "dirs in" << dt.elapsed() << "milliseconds";