diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-10-03 21:14:11 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-10-06 19:47:06 -0700 |
commit | ab14889563317b561eb22ad46d05f302cc582600 (patch) | |
tree | c12edebf14d86a77a289d5535411934ca09809d7 /tests | |
parent | 810903bdb9db84997dc3d32bb8e934e320784a4d (diff) | |
download | subsurface-ab14889563317b561eb22ad46d05f302cc582600.tar.gz |
Core: remove preexisting field from struct dive_table
Dives are now in all cases imported via distinct dive_tables.
Therefore the "preexisting" marker is useless. Remove.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testrenumber.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/testrenumber.cpp b/tests/testrenumber.cpp index bd9ddf0ca..9c409c512 100644 --- a/tests/testrenumber.cpp +++ b/tests/testrenumber.cpp @@ -9,7 +9,6 @@ void TestRenumber::setup() { QCOMPARE(parse_file(SUBSURFACE_TEST_DATA "/dives/test47.xml", &dive_table), 0); process_loaded_dives(); - dive_table.preexisting = dive_table.nr; } void TestRenumber::testMerge() @@ -20,7 +19,6 @@ void TestRenumber::testMerge() QCOMPARE(dive_table.nr, 1); QCOMPARE(unsaved_changes(), 1); mark_divelist_changed(false); - dive_table.preexisting = dive_table.nr; } void TestRenumber::testMergeAndAppend() |