summaryrefslogtreecommitdiffstats
path: root/qt-ui/preferences.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-19 23:08:20 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-19 23:08:20 -0800
commit9c5e037a612808a9ad1d2c9f8e6ec7213d5d468b (patch)
tree3b9b83ca11d5a0bcef3032fd0f0999a104db28e1 /qt-ui/preferences.cpp
parent0ca12c36011804eb4b2c3034269bab51ad04a500 (diff)
downloadsubsurface-9c5e037a612808a9ad1d2c9f8e6ec7213d5d468b.tar.gz
Trigger redraw of the Dive Info pane on preferences change
If we change the units we need to redraw the info on this pane. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/preferences.cpp')
-rw-r--r--qt-ui/preferences.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/preferences.cpp b/qt-ui/preferences.cpp
index 8c3982eb5..b9fb26018 100644
--- a/qt-ui/preferences.cpp
+++ b/qt-ui/preferences.cpp
@@ -208,6 +208,6 @@ void PreferencesDialog::buttonClicked(QAbstractButton* button)
void PreferencesDialog::on_chooseFile_clicked()
{
- QFileInfo fi(system_default_filename());
- ui.defaultfilename->setText(QFileDialog::getOpenFileName(this, tr("Open Default Log File"), fi.absolutePath(), tr("Subsurface XML files (*.ssrf *.xml *.XML)")));
+ QFileInfo fi(system_default_filename());
+ ui.defaultfilename->setText(QFileDialog::getOpenFileName(this, tr("Open Default Log File"), fi.absolutePath(), tr("Subsurface XML files (*.ssrf *.xml *.XML)")));
}