mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
- Fixed compiling errors when upnp is disabled (chris)
This commit is contained in:
parent
47db3386aa
commit
e8e40c7bcf
2 changed files with 5 additions and 0 deletions
|
@ -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){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue