mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 23:07:59 +00:00
parent
b3e9c46eff
commit
eaee38a19e
@ -589,11 +589,7 @@ void Preferences::setWebUiPort(const quint16 port)
|
||||
|
||||
bool Preferences::useUPnPForWebUIPort() const
|
||||
{
|
||||
#ifdef DISABLE_GUI
|
||||
return value(u"Preferences/WebUI/UseUPnP"_qs, true);
|
||||
#else
|
||||
return value(u"Preferences/WebUI/UseUPnP"_qs, false);
|
||||
#endif
|
||||
}
|
||||
|
||||
void Preferences::setUPnPForWebUIPort(const bool enabled)
|
||||
|
Loading…
Reference in New Issue
Block a user