summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/subsurfacewebservices.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/subsurfacewebservices.cpp')
-rw-r--r--desktop-widgets/subsurfacewebservices.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/desktop-widgets/subsurfacewebservices.cpp b/desktop-widgets/subsurfacewebservices.cpp
index ecc664364..3e366db58 100644
--- a/desktop-widgets/subsurfacewebservices.cpp
+++ b/desktop-widgets/subsurfacewebservices.cpp
@@ -769,8 +769,9 @@ void DivelogsDeWebServices::buttonClicked(QAbstractButton *button)
}
/* parse file and import dives */
struct dive_table table = { 0 };
- parse_file(QFile::encodeName(zipFile.fileName()), &table, &trip_table);
- process_imported_dives(&table, false, false);
+ struct trip_table trips = { 0 };
+ parse_file(QFile::encodeName(zipFile.fileName()), &table, &trips);
+ process_imported_dives(&table, &trips, false, false);
MainWindow::instance()->refreshDisplay();
/* store last entered user/pass in config */