1
0
Fork 0
mirror of https://github.com/subsurface/subsurface.git synced 2025-02-19 22:16:15 +00:00

Actually process the dives downloaded from divelogs.de

Silly mistake in commit 93b5c0cd14 ("Finish download from divelogs.de"):
parse_file() doesn't call process_dives() - the caller needs to do that.

Fixes 

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-12-08 06:42:24 +01:00
parent 50a1ed8d6e
commit 4beb53f27e

View file

@ -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;