aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2015-01-26 23:32:41 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-26 14:58:34 -0800
commit7825495620539d21fce993310cce022feb9181f2 (patch)
treecf77367741d6ada866117ebd7243f7c69f33461b /qt-ui
parent277d090f559ed88172e641bb05862ba8cc8aeab1 (diff)
downloadsubsurface-7825495620539d21fce993310cce022feb9181f2.tar.gz
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>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/configuredivecomputerdialog.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/qt-ui/configuredivecomputerdialog.cpp b/qt-ui/configuredivecomputerdialog.cpp
index 5dd8d545c..95bc0f882 100644
--- a/qt-ui/configuredivecomputerdialog.cpp
+++ b/qt-ui/configuredivecomputerdialog.cpp
@@ -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);
}
}