mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 06:01:33 -06:00
committed by
GitHub
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)
|
||||
|
||||
Reference in New Issue
Block a user