diff options
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/divelogexportdialog.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/desktop-widgets/divelogexportdialog.cpp b/desktop-widgets/divelogexportdialog.cpp index 7d9a6d6ca..164ae0434 100644 --- a/desktop-widgets/divelogexportdialog.cpp +++ b/desktop-widgets/divelogexportdialog.cpp @@ -222,8 +222,10 @@ void DiveLogExportDialog::on_buttonBox_accepted() } } else if (ui->exportProfile->isChecked()) { filename = QFileDialog::getSaveFileName(this, tr("Save profile image"), lastDir); - if (!filename.isEmpty()) - exportProfile(qPrintable(filename), ui->exportSelected->isChecked()); + if (!filename.isEmpty()) { + ProgressDialogCallback cb; + exportProfile(qPrintable(filename), ui->exportSelected->isChecked(), cb); + } } else if (ui->exportProfileData->isChecked()) { filename = QFileDialog::getSaveFileName(this, tr("Save profile data"), lastDir); if (!filename.isEmpty()) |