summaryrefslogtreecommitdiffstats
path: root/qt-ui/configuredivecomputerdialog.cpp
diff options
context:
space:
mode:
authorGravatar Tim Wootton <tim@tee-jay.demon.co.uk>2014-09-11 22:56:35 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-09-18 06:24:53 -0700
commit42c96998707c10a18b540dfc3471c209c68bed27 (patch)
treee22be28553a5604b440d4da786223739d185f7c1 /qt-ui/configuredivecomputerdialog.cpp
parentbff471f98d9c94a75e2c5e4ef08687e182a2d883 (diff)
downloadsubsurface-42c96998707c10a18b540dfc3471c209c68bed27.tar.gz
Futher capitalisation standardisation
Signed-off-by: Tim Wootton <tim@tee-jay.demon.co.uk> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/configuredivecomputerdialog.cpp')
-rw-r--r--qt-ui/configuredivecomputerdialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/qt-ui/configuredivecomputerdialog.cpp b/qt-ui/configuredivecomputerdialog.cpp
index a02a338d1..109ac3a9f 100644
--- a/qt-ui/configuredivecomputerdialog.cpp
+++ b/qt-ui/configuredivecomputerdialog.cpp
@@ -390,14 +390,14 @@ void ConfigureDiveComputerDialog::on_backupButton_clicked()
QString filename = existing_filename ?: prefs.default_filename;
QFileInfo fi(filename);
filename = fi.absolutePath().append(QDir::separator()).append("Backup.xml");
- QString backupPath = QFileDialog::getSaveFileName(this, tr("Backup Dive Computer Settings"),
+ QString backupPath = QFileDialog::getSaveFileName(this, tr("Backup dive computer settings"),
filename, tr("Backup files (*.xml)")
);
if (!backupPath.isEmpty()) {
populateDeviceDetails();
getDeviceData();
if (!config->saveXMLBackup(backupPath, deviceDetails, &device_data)) {
- QMessageBox::critical(this, tr("XML Backup Error"),
+ QMessageBox::critical(this, tr("XML backup error"),
tr("An error occurred while saving the backup file.\n%1")
.arg(config->lastError)
);
@@ -415,12 +415,12 @@ void ConfigureDiveComputerDialog::on_restoreBackupButton_clicked()
QString filename = existing_filename ?: prefs.default_filename;
QFileInfo fi(filename);
filename = fi.absolutePath().append(QDir::separator()).append("Backup.xml");
- QString restorePath = QFileDialog::getOpenFileName(this, tr("Restore Dive Computer Settings"),
+ QString restorePath = QFileDialog::getOpenFileName(this, tr("Restore dive computer settings"),
filename, tr("Backup files (*.xml)")
);
if (!restorePath.isEmpty()) {
if (!config->restoreXMLBackup(restorePath, deviceDetails)) {
- QMessageBox::critical(this, tr("XML Restore Error"),
+ QMessageBox::critical(this, tr("XML restore error"),
tr("An error occurred while restoring the backup file.\n%1")
.arg(config->lastError)
);