- Fixed compiling errors when upnp is disabled (chris)

This commit is contained in:
Arnaud Demaiziere 2007-03-28 11:45:32 +00:00
parent 47db3386aa
commit e8e40c7bcf
2 changed files with 5 additions and 0 deletions

View file

@ -674,6 +674,7 @@ void options_imp::disableDHTGroup(int checkBoxValue){
}
}
#ifndef NO_UPNP
void options_imp::disableUPnPGroup(int checkBoxValue){
if(checkBoxValue==2){
//Disable
@ -683,6 +684,7 @@ void options_imp::disableUPnPGroup(int checkBoxValue){
groupUPnP->setEnabled(true);
}
}
#endif
void options_imp::enableSavePath(int checkBoxValue){
if(checkBoxValue==2){