mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 07:57:22 -06:00
committed by
Vladimir Golovnev (Glassez)
parent
70a2d7bd58
commit
2b4fcda463
@@ -599,11 +599,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)
|
||||||
|
|||||||
Reference in New Issue
Block a user