aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joseph W. Joshua <joejoshw@gmail.com>2014-08-21 19:26:18 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-21 13:31:34 -0500
commitb940f078b5039046118c9b6bb2b8998a2a6088cb (patch)
tree1bd2f7c7527221f4107e249b1e0ad9756dde628c
parent0b5e3389e26892a8670e33947f50a5ed1d1a810e (diff)
downloadsubsurface-b940f078b5039046118c9b6bb2b8998a2a6088cb.tar.gz
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 <joejoshw@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/configuredivecomputerdialog.cpp2
1 files changed, 1 insertions, 1 deletions
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)
);
}
}