diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-01-06 12:51:10 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-01-10 02:37:03 +0900 |
commit | 4e419f74456bc3ac04e8d8c7550153434e36f475 (patch) | |
tree | 4d3e8b6fdb6cf9efa4cebff24be6751dcad7066c /tests | |
parent | e9dcac7514e3e61a1259fdd0e011e9a9b8093e54 (diff) | |
download | subsurface-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.cpp | 2 |
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); |