mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-06 05:01:25 -07:00
parent
b3e9c46eff
commit
eaee38a19e
1 changed files with 0 additions and 4 deletions
|
@ -589,11 +589,7 @@ void Preferences::setWebUiPort(const quint16 port)
|
||||||
|
|
||||||
bool Preferences::useUPnPForWebUIPort() const
|
bool Preferences::useUPnPForWebUIPort() const
|
||||||
{
|
{
|
||||||
#ifdef DISABLE_GUI
|
|
||||||
return value(u"Preferences/WebUI/UseUPnP"_qs, true);
|
|
||||||
#else
|
|
||||||
return value(u"Preferences/WebUI/UseUPnP"_qs, false);
|
return value(u"Preferences/WebUI/UseUPnP"_qs, false);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Preferences::setUPnPForWebUIPort(const bool enabled)
|
void Preferences::setUPnPForWebUIPort(const bool enabled)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue