mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-02 05:38:06 -06:00
Store WebUI port setting in human readable number
Previously it was wrapped in QVariant type. PR #16977.
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user