diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2014-02-06 11:38:28 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-02-06 06:34:05 -0800 |
commit | c84ef319a2d83affbd4a0f2f7c391cdfb25d09ee (patch) | |
tree | d0823cf0e41854e8faf9aeaa535ab6380c47645c /qt-ui/preferences.cpp | |
parent | 2a9289ac99f5be630e768a97dc30525c15e430ce (diff) | |
download | subsurface-c84ef319a2d83affbd4a0f2f7c391cdfb25d09ee.tar.gz |
Create a toolbox on the left side of the new profile
For quick acess of preferences the show / hide stuff from the Settings
dialog is now in that toolbox and in the future we can put a few more,
like 'Show Notifications Panel' and 'Enable Legend'
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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(); +} |