mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 07:18:08 +00:00
Fix mingw64 build error
mingw64 defines interface, so revert back to previous naming scheme
Fixes: 87864531ab
Closes #13649
This commit is contained in:
parent
424e2c76fa
commit
a5f8f1f0f5
@ -2686,10 +2686,10 @@ QString Session::networkInterface() const
|
|||||||
return m_networkInterface;
|
return m_networkInterface;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Session::setNetworkInterface(const QString &interface)
|
void Session::setNetworkInterface(const QString &iface)
|
||||||
{
|
{
|
||||||
if (interface != networkInterface()) {
|
if (iface != networkInterface()) {
|
||||||
m_networkInterface = interface;
|
m_networkInterface = iface;
|
||||||
configureListeningInterface();
|
configureListeningInterface();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -309,7 +309,7 @@ namespace BitTorrent
|
|||||||
bool useRandomPort() const;
|
bool useRandomPort() const;
|
||||||
void setUseRandomPort(bool value);
|
void setUseRandomPort(bool value);
|
||||||
QString networkInterface() const;
|
QString networkInterface() const;
|
||||||
void setNetworkInterface(const QString &interface);
|
void setNetworkInterface(const QString &iface);
|
||||||
QString networkInterfaceName() const;
|
QString networkInterfaceName() const;
|
||||||
void setNetworkInterfaceName(const QString &name);
|
void setNetworkInterfaceName(const QString &name);
|
||||||
QString networkInterfaceAddress() const;
|
QString networkInterfaceAddress() const;
|
||||||
|
Loading…
Reference in New Issue
Block a user