mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Added a 'use default file' button on preferences.
Added a 'Use default file' button on preferences in a way that doesn't clutters the interface. Fixes #630 Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
bf7fc97b50
commit
1b6144350d
4 changed files with 64 additions and 22 deletions
|
@ -14,6 +14,7 @@ public:
|
|||
static PreferencesDialog *instance();
|
||||
void showEvent(QShowEvent *);
|
||||
void emitSettingsChanged();
|
||||
|
||||
signals:
|
||||
void settingsChanged();
|
||||
public
|
||||
|
@ -28,6 +29,7 @@ slots:
|
|||
void gflowChanged(int gf);
|
||||
void gfhighChanged(int gf);
|
||||
void proxyType_changed(int idx);
|
||||
void on_btnUseDefaultFile_toggled(bool toggle);
|
||||
|
||||
private:
|
||||
explicit PreferencesDialog(QWidget *parent = 0, Qt::WindowFlags f = 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue