mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-10 07:22:47 -07:00
Store WebUI port setting in human readable number
Previously it was wrapped in QVariant type. PR #16977.
This commit is contained in:
parent
2a6f02fa29
commit
e9d3928fe0
2 changed files with 4 additions and 3 deletions
|
@ -661,7 +661,7 @@ void AppController::setPreferencesAction()
|
|||
if (hasKey(u"web_ui_address"_qs))
|
||||
pref->setWebUiAddress(it.value().toString());
|
||||
if (hasKey(u"web_ui_port"_qs))
|
||||
pref->setWebUiPort(it.value().toUInt());
|
||||
pref->setWebUiPort(it.value().value<quint16>());
|
||||
if (hasKey(u"web_ui_upnp"_qs))
|
||||
pref->setUPnPForWebUIPort(it.value().toBool());
|
||||
if (hasKey(u"use_https"_qs))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue