- Blocked users (by ipfilter) are now logged in GUI

This commit is contained in:
Christophe Dumez 2007-07-04 06:42:36 +00:00
parent 3a727dea28
commit c11e5e8b12
7 changed files with 27 additions and 11 deletions

View file

@ -516,15 +516,10 @@ void options_imp::loadOptions(){
settings.beginGroup("IPFilter");
if(settings.value("Enabled", false).toBool()){
strValue = settings.value("File", QString()).toString();
if(strValue.isEmpty()){
activateFilter->setChecked(false);
filterGroup->setEnabled(false);
}else{
activateFilter->setChecked(true);
filterGroup->setEnabled(true);
filterFile->setText(strValue);
processFilterFile(strValue);
}
activateFilter->setChecked(true);
filterGroup->setEnabled(true);
filterFile->setText(strValue);
processFilterFile(strValue);
}else{
activateFilter->setChecked(false);
filterGroup->setEnabled(false);