Remove progress bar resets

The reset call hides the progress bar text, and that way it hides our
error messages we try to show with the progress bar.

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2015-01-26 23:32:41 +01:00 committed by Dirk Hohndel
parent 277d090f55
commit 7825495620

View file

@ -683,7 +683,6 @@ void ConfigureDiveComputerDialog::readSettings()
ui.progressBar->setTextVisible(true);
getDeviceData();
ui.progressBar->reset();
config->readSettings(&device_data);
}
@ -694,7 +693,6 @@ void ConfigureDiveComputerDialog::resetSettings()
ui.progressBar->setTextVisible(true);
getDeviceData();
ui.progressBar->reset();
config->resetSettings(&device_data);
}
@ -1078,7 +1076,6 @@ void ConfigureDiveComputerDialog::on_updateFirmwareButton_clicked()
ui.progressBar->setTextVisible(true);
getDeviceData();
ui.progressBar->reset();
config->startFirmwareUpdate(firmwarePath, &device_data);
}
}