From 4e419f74456bc3ac04e8d8c7550153434e36f475 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 6 Jan 2020 12:51:10 -0800 Subject: [PATCH] code cleanup: use setPath to set directory Signed-off-by: Dirk Hohndel --- tests/testparse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testparse.cpp b/tests/testparse.cpp index 1250fd1e0..93054674e 100644 --- a/tests/testparse.cpp +++ b/tests/testparse.cpp @@ -247,7 +247,7 @@ void TestParse::testParseNewFormat() * Set the directory location and file filter for H3 CSV files. */ - dir = QString::fromLatin1(SUBSURFACE_TEST_DATA "/dives"); + dir.setPath(QString::fromLatin1(SUBSURFACE_TEST_DATA "/dives")); filter << "TestDiveSeabearH3*.csv"; filter << "TestDiveSeabearT1*.csv"; files = dir.entryList(filter, QDir::Files);