|
|
@ -65,6 +65,7 @@ class Proxy: public QDialog, private Ui::Proxy { |
|
|
|
public Q_SLOTS: |
|
|
|
public Q_SLOTS: |
|
|
|
|
|
|
|
|
|
|
|
void on__save_clicked(bool=false) { |
|
|
|
void on__save_clicked(bool=false) { |
|
|
|
|
|
|
|
QSettings s("SwissSign", "ProxySettings"); |
|
|
|
s.setValue("default-type", _type->currentIndex()); |
|
|
|
s.setValue("default-type", _type->currentIndex()); |
|
|
|
s.setValue("default-server", _url->text()); |
|
|
|
s.setValue("default-server", _url->text()); |
|
|
|
s.setValue("default-port", _port->value()); |
|
|
|
s.setValue("default-port", _port->value()); |
|
|
@ -72,6 +73,7 @@ class Proxy: public QDialog, private Ui::Proxy { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void on__clear_clicked(bool=false) { |
|
|
|
void on__clear_clicked(bool=false) { |
|
|
|
|
|
|
|
QSettings s("SwissSign", "ProxySettings"); |
|
|
|
s.clear(); |
|
|
|
s.clear(); |
|
|
|
_type->setCurrentIndex(0); |
|
|
|
_type->setCurrentIndex(0); |
|
|
|
_url->setText(""); |
|
|
|
_url->setText(""); |
|
|
|