diff options
Diffstat (limited to 'qt-ui/preferences.cpp')
-rw-r--r-- | qt-ui/preferences.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/qt-ui/preferences.cpp b/qt-ui/preferences.cpp index 34a165cea..ab9c9fa39 100644 --- a/qt-ui/preferences.cpp +++ b/qt-ui/preferences.cpp @@ -223,8 +223,6 @@ void PreferencesDialog::buttonClicked(QAbstractButton* button) break; // ignore warnings. } } - - #undef SB void PreferencesDialog::on_chooseFile_clicked() @@ -232,3 +230,8 @@ 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)"))); } + +void PreferencesDialog::emitSettingsChanged() +{ + emit settingsChanged(); +} |