Browse Source

- Added a message saying if upnp is enabled or not

adaptive-webui-19844
Christophe Dumez 18 years ago
parent
commit
1d2d91d091
  1. 6
      src/src.pro

6
src/src.pro

@ -104,7 +104,8 @@ TRANSLATIONS = $$LANG_PATH/qbittorrent_fr.ts \
$$LANG_PATH/qbittorrent_ro.ts \ $$LANG_PATH/qbittorrent_ro.ts \
$$LANG_PATH/qbittorrent_pt.ts \ $$LANG_PATH/qbittorrent_pt.ts \
$$LANG_PATH/qbittorrent_nb.ts \ $$LANG_PATH/qbittorrent_nb.ts \
$$LANG_PATH/qbittorrent_fi.ts $$LANG_PATH/qbittorrent_fi.ts \
$$LANG_PATH/qbittorrent_da.ts
# Source code # Source code
HEADERS += GUI.h misc.h options_imp.h about_imp.h \ HEADERS += GUI.h misc.h options_imp.h about_imp.h \
@ -125,7 +126,10 @@ SOURCES += GUI.cpp \
createtorrent_imp.cpp \ createtorrent_imp.cpp \
bittorrent.cpp bittorrent.cpp
!contains(DEFINES, NO_UPNP){ !contains(DEFINES, NO_UPNP){
message(UPnP Enabled)
HEADERS += UPnP.h HEADERS += UPnP.h
SOURCES += UPnP.cpp SOURCES += UPnP.cpp
}else{
message(UPnP Disabled)
} }

Loading…
Cancel
Save