From b940f078b5039046118c9b6bb2b8998a2a6088cb Mon Sep 17 00:00:00 2001 From: "Joseph W. Joshua" Date: Thu, 21 Aug 2014 19:26:18 +0300 Subject: Show correct path after saving dive computer settings When backing up dive computer settings to XML, the confirmation dialog shows the default file path. This patch fixes that by displaying the correct file if the user changes the backup location. Signed-off-by: Joseph W. Joshua Signed-off-by: Dirk Hohndel --- qt-ui/configuredivecomputerdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt-ui/configuredivecomputerdialog.cpp b/qt-ui/configuredivecomputerdialog.cpp index e40522529..a02a338d1 100644 --- a/qt-ui/configuredivecomputerdialog.cpp +++ b/qt-ui/configuredivecomputerdialog.cpp @@ -404,7 +404,7 @@ void ConfigureDiveComputerDialog::on_backupButton_clicked() } else { QMessageBox::information(this, tr("Backup succeeded"), tr("Your settings have been saved to: %1") - .arg(filename) + .arg(backupPath) ); } } -- cgit v1.2.3-70-g09d2