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 #344
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
50a1ed8d6e
commit
4beb53f27e
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue