summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-08 06:42:24 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-08 06:42:24 +0100
commit4beb53f27e43dd522bcfc9855896d1065cc0b3fd (patch)
treeb317977e33a85f7ff3afe301464fd9869d7d40ae /qt-ui
parent50a1ed8d6eec849a41026653cc9ce411dcd679bb (diff)
downloadsubsurface-4beb53f27e43dd522bcfc9855896d1065cc0b3fd.tar.gz
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 <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/subsurfacewebservices.cpp1
1 files changed, 1 insertions, 0 deletions
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;