Disable SCTP/IPv6 option if not available.
This commit is contained in:
@@ -202,8 +202,13 @@ void settingsDialogImpl::exec() {
|
|||||||
spinBox_logStoreDuration->setValue(myConfig->readConfigInt("LogStoreDuration"));
|
spinBox_logStoreDuration->setValue(myConfig->readConfigInt("LogStoreDuration"));
|
||||||
comboBox_logInterval->setCurrentIndex(myConfig->readConfigInt("LogInterval"));
|
comboBox_logInterval->setCurrentIndex(myConfig->readConfigInt("LogInterval"));
|
||||||
|
|
||||||
checkBox_useIpv6->setEnabled(socket_has_ipv6());
|
bool tmpHasIpv6 = socket_has_ipv6();
|
||||||
checkBox_useSctp->setEnabled(socket_has_sctp());
|
bool tmpHasSctp = socket_has_sctp();
|
||||||
|
checkBox_useIpv6->setEnabled(tmpHasIpv6);
|
||||||
|
checkBox_useSctp->setEnabled(tmpHasSctp);
|
||||||
|
checkBox_InternetServerUseIpv6->setEnabled(tmpHasIpv6);
|
||||||
|
checkBox_InternetServerUseSctp->setEnabled(tmpHasSctp);
|
||||||
|
checkBox_IRCServerUseIpv6->setEnabled(tmpHasIpv6);
|
||||||
|
|
||||||
//Manual Blinds Order Dialog (local)
|
//Manual Blinds Order Dialog (local)
|
||||||
myManualBlindsList = myConfig->readConfigIntList("ManualBlindsList");
|
myManualBlindsList = myConfig->readConfigIntList("ManualBlindsList");
|
||||||
|
|||||||
Reference in New Issue
Block a user