mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 23:07:59 +00:00
- Fixed compiling errors when upnp is disabled (chris)
This commit is contained in:
parent
47db3386aa
commit
e8e40c7bcf
@ -27,7 +27,10 @@
|
|||||||
#include "bittorrent.h"
|
#include "bittorrent.h"
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
#include "downloadThread.h"
|
#include "downloadThread.h"
|
||||||
|
|
||||||
|
#ifndef NO_UPNP
|
||||||
#include "UPnP.h"
|
#include "UPnP.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
// Main constructor
|
// Main constructor
|
||||||
bittorrent::bittorrent(){
|
bittorrent::bittorrent(){
|
||||||
|
@ -674,6 +674,7 @@ void options_imp::disableDHTGroup(int checkBoxValue){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef NO_UPNP
|
||||||
void options_imp::disableUPnPGroup(int checkBoxValue){
|
void options_imp::disableUPnPGroup(int checkBoxValue){
|
||||||
if(checkBoxValue==2){
|
if(checkBoxValue==2){
|
||||||
//Disable
|
//Disable
|
||||||
@ -683,6 +684,7 @@ void options_imp::disableUPnPGroup(int checkBoxValue){
|
|||||||
groupUPnP->setEnabled(true);
|
groupUPnP->setEnabled(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void options_imp::enableSavePath(int checkBoxValue){
|
void options_imp::enableSavePath(int checkBoxValue){
|
||||||
if(checkBoxValue==2){
|
if(checkBoxValue==2){
|
||||||
|
Loading…
Reference in New Issue
Block a user