- Now user can change DHT port in options

- Reworked options window a little
This commit is contained in:
Christophe Dumez 2006-10-24 11:28:32 +00:00
parent ee8bc5cdaf
commit f7140491cd
6 changed files with 436 additions and 251 deletions

View file

@ -1690,6 +1690,13 @@ void GUI::configureSession(){
qDebug("Disabling DHT Support");
}
}
int dht_port = options->getDHTPort();
if(dht_port >= 1000){
struct dht_settings DHTSettings;
DHTSettings.service_port = dht_port;
s->set_dht_settings(DHTSettings);
qDebug("Set DHT Port to %d", dht_port);
}
// Apply filtering settings
if(options->isFilteringEnabled()){
qDebug("Ip Filter enabled");