From 4beb53f27e43dd522bcfc9855896d1065cc0b3fd Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 8 Dec 2013 06:42:24 +0100 Subject: [PATCH] Actually process the dives downloaded from divelogs.de Silly mistake in commit 93b5c0cd14fe ("Finish download from divelogs.de"): parse_file() doesn't call process_dives() - the caller needs to do that. Fixes #344 Signed-off-by: Dirk Hohndel --- qt-ui/subsurfacewebservices.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/qt-ui/subsurfacewebservices.cpp b/qt-ui/subsurfacewebservices.cpp index 977e59fde..193f7c41b 100644 --- a/qt-ui/subsurfacewebservices.cpp +++ b/qt-ui/subsurfacewebservices.cpp @@ -668,6 +668,7 @@ void DivelogsDeWebServices::buttonClicked(QAbstractButton* button) case QDialogButtonBox::ApplyRole:{ char *errorptr = NULL; parse_file(zipFile.fileName().toUtf8().constData(), &errorptr); + process_dives(TRUE, FALSE); // ### FIXME: do something useful with the error - but there shouldn't be one, right? if (errorptr) qDebug() << errorptr;