Merge pull request #2821 from Joern-R/BM-Import

Body & HRV Measures - MacOS
This commit is contained in:
Joern
2018-03-12 19:29:00 +01:00
committed by GitHub
2 changed files with 14 additions and 0 deletions

View File

@@ -304,6 +304,13 @@ BodyMeasuresDownload::download() {
// do a refresh, it will check if needed
context->athlete->rideCache->refresh();
#ifdef Q_MAC_OS
// since progressBar on MacOS does not show the % values
QMessageBox msgBox;
msgBox.setText(tr("Download completed."));
msgBox.exec();
#endif
} else {
// handle error document in err String
QMessageBox::warning(this, tr("Body Measurements"), tr("Downloading of body measurements failed with error: %1").arg(err));

View File

@@ -195,6 +195,13 @@ HrvMeasuresDownload::download() {
updateMeasures(context, hrvMeasures, discardExistingMeasures->isChecked());
#ifdef Q_MAC_OS
// since progressBar on MacOS does not show the % values
QMessageBox msgBox;
msgBox.setText(tr("Download completed."));
msgBox.exec();
#endif
} else {
// handle error document in err String
QMessageBox::warning(this, tr("HRV Measurements"), tr("Downloading of HRV measurements failed with error: %1").arg(err));