summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-01-06 12:51:10 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-01-10 02:37:03 +0900
commit4e419f74456bc3ac04e8d8c7550153434e36f475 (patch)
tree4d3e8b6fdb6cf9efa4cebff24be6751dcad7066c /tests
parente9dcac7514e3e61a1259fdd0e011e9a9b8093e54 (diff)
downloadsubsurface-4e419f74456bc3ac04e8d8c7550153434e36f475.tar.gz
code cleanup: use setPath to set directory
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'tests')
-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);