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:
Tomaz Canabrava 2014-07-16 18:40:49 -03:00 committed by Dirk Hohndel
parent bf7fc97b50
commit 1b6144350d
4 changed files with 64 additions and 22 deletions

View file

@ -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);