Migrate last setting related to interfaces to the new system.

This commit is contained in:
sledgehammer999
2016-10-31 01:40:26 +02:00
parent 7bf06cd6e6
commit f391b24b1d
6 changed files with 18 additions and 15 deletions

View File

@@ -260,6 +260,8 @@ namespace BitTorrent
void setUseRandomPort(bool value);
QString networkInterface() const;
void setNetworkInterface(const QString &interface);
QString networkInterfaceName() const;
void setNetworkInterfaceName(const QString &name);
QString networkInterfaceAddress() const;
void setNetworkInterfaceAddress(const QString &address);
bool isIPv6Enabled() const;
@@ -551,6 +553,7 @@ namespace BitTorrent
CachedSettingValue<int> m_port;
CachedSettingValue<bool> m_useRandomPort;
CachedSettingValue<QString> m_networkInterface;
CachedSettingValue<QString> m_networkInterfaceName;
CachedSettingValue<QString> m_networkInterfaceAddress;
CachedSettingValue<bool> m_isIPv6Enabled;
CachedSettingValue<int> m_encryption;