summaryrefslogtreecommitdiffstats
path: root/tests/testparse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testparse.cpp')
-rw-r--r--tests/testparse.cpp2
1 files changed, 1 insertions, 1 deletions
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);