code cleanup: use setPath to set directory
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
e9dcac7514
commit
4e419f7445
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user