|
|
@ -113,7 +113,6 @@ options_imp::options_imp(QWidget *parent): |
|
|
|
// Connect signals / slots
|
|
|
|
// Connect signals / slots
|
|
|
|
// Proxy tab
|
|
|
|
// Proxy tab
|
|
|
|
connect(comboProxyType, SIGNAL(currentIndexChanged(int)),this, SLOT(enableProxy(int))); |
|
|
|
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
|
|
|
|
// Apply button is activated when a value is changed
|
|
|
|
// General tab
|
|
|
|
// General tab
|
|
|
@ -589,7 +588,6 @@ void options_imp::loadOptions(){ |
|
|
|
checkProxyAuth->setChecked(pref.isProxyAuthEnabled()); |
|
|
|
checkProxyAuth->setChecked(pref.isProxyAuthEnabled()); |
|
|
|
textProxyUsername->setText(pref.getProxyUsername()); |
|
|
|
textProxyUsername->setText(pref.getProxyUsername()); |
|
|
|
textProxyPassword->setText(pref.getProxyPassword()); |
|
|
|
textProxyPassword->setText(pref.getProxyPassword()); |
|
|
|
enableProxyAuth(checkProxyAuth->isChecked()); |
|
|
|
|
|
|
|
//}
|
|
|
|
//}
|
|
|
|
// End Connection preferences
|
|
|
|
// End Connection preferences
|
|
|
|
// Bittorrent 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 { |
|
|
|
bool options_imp::isSlashScreenDisabled() const { |
|
|
|
return !checkShowSplash->isChecked(); |
|
|
|
return !checkShowSplash->isChecked(); |
|
|
|
} |
|
|
|
} |
|
|
|