mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Initialize device_data_t data
If the user never clicks on the log and dump checkboxes (and that's what we expect to be the case by default), then the log / dump flags (and filenames) were never initialized. I am reasonably certain this will close the following three bugs, that all show the same symptom: they behave as if libdivecomputer dump was set, even if it wasn't. Fixes: #426 Fixes: #431 Fixes: #435 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
bbda9dd108
commit
31aa93857a
1 changed files with 1 additions and 0 deletions
|
@ -76,6 +76,7 @@ DownloadFromDCWidget::DownloadFromDCWidget(QWidget* parent, Qt::WindowFlags f) :
|
|||
timer->setInterval(200);
|
||||
connect(timer, SIGNAL(timeout()), this, SLOT(updateProgressBar()));
|
||||
updateState(INITIAL);
|
||||
memset(&data, 0, sizeof(data));
|
||||
}
|
||||
|
||||
void DownloadFromDCWidget::updateProgressBar()
|
||||
|
|
Loading…
Add table
Reference in a new issue