diff --git a/src/preferences/options.ui b/src/preferences/options.ui
index fad69d070..a04ba678b 100644
--- a/src/preferences/options.ui
+++ b/src/preferences/options.ui
@@ -985,9 +985,9 @@ QGroupBox {
0
- 0
+ -84
503
- 426
+ 462
@@ -1300,87 +1300,78 @@ QGroupBox {
-
-
-
-
-
-
- false
-
-
- Authentication
-
-
-
- -
-
-
-
-
-
- false
-
-
- Username:
-
-
-
- -
-
-
- false
-
-
-
-
-
- 1000
-
-
- QLineEdit::Normal
-
-
-
- -
-
-
- false
-
-
- Password:
-
-
-
- -
-
-
- false
-
-
-
-
-
- 1000
-
-
- QLineEdit::Password
-
-
-
-
-
- -
-
-
- Qt::Horizontal
-
-
-
- 40
- 20
-
-
-
-
-
+
+
+ false
+
+
+ Authentication
+
+
+ true
+
+
+ false
+
+
+ -
+
+
-
+
+
+ false
+
+
+ Username:
+
+
+
+ -
+
+
+ false
+
+
+
+
+
+ 1000
+
+
+ QLineEdit::Normal
+
+
+
+ -
+
+
+ false
+
+
+ Password:
+
+
+
+ -
+
+
+ false
+
+
+
+
+
+ 1000
+
+
+ QLineEdit::Password
+
+
+
+
+
+
+
diff --git a/src/preferences/options_imp.cpp b/src/preferences/options_imp.cpp
index 791a8a4dc..e16d111e1 100644
--- a/src/preferences/options_imp.cpp
+++ b/src/preferences/options_imp.cpp
@@ -113,7 +113,6 @@ options_imp::options_imp(QWidget *parent):
// Connect signals / slots
// Proxy tab
connect(comboProxyType, SIGNAL(currentIndexChanged(int)),this, SLOT(enableProxy(int)));
- connect(checkProxyAuth, SIGNAL(toggled(bool)), this, SLOT(enableProxyAuth(bool)));
// Apply button is activated when a value is changed
// General tab
@@ -589,7 +588,6 @@ void options_imp::loadOptions(){
checkProxyAuth->setChecked(pref.isProxyAuthEnabled());
textProxyUsername->setText(pref.getProxyUsername());
textProxyPassword->setText(pref.getProxyPassword());
- enableProxyAuth(checkProxyAuth->isChecked());
//}
// End Connection preferences
// Bittorrent preferences
@@ -863,13 +861,6 @@ void options_imp::enableProxy(int index){
}
}
-void options_imp::enableProxyAuth(bool checked){
- lblProxyUsername->setEnabled(checked);
- lblProxyPassword->setEnabled(checked);
- textProxyUsername->setEnabled(checked);
- textProxyPassword->setEnabled(checked);
-}
-
bool options_imp::isSlashScreenDisabled() const {
return !checkShowSplash->isChecked();
}
diff --git a/src/preferences/options_imp.h b/src/preferences/options_imp.h
index 44fcd4027..09d66eb0f 100644
--- a/src/preferences/options_imp.h
+++ b/src/preferences/options_imp.h
@@ -56,7 +56,6 @@ public:
protected slots:
void enableProxy(int comboIndex);
- void enableProxyAuth(bool checked);
void on_buttonBox_accepted();
void closeEvent(QCloseEvent *e);
void on_buttonBox_rejected();