make it build with xenial
This commit is contained in:
parent
afd68b0285
commit
15ca661cc2
@ -87,7 +87,7 @@ QHostAddress AvrConnection::hostAddress() const
|
|||||||
|
|
||||||
void AvrConnection::setHostAddress(const QHostAddress &hostAddress)
|
void AvrConnection::setHostAddress(const QHostAddress &hostAddress)
|
||||||
{
|
{
|
||||||
if (!m_hostAddress.isEqual(hostAddress)) {
|
if (m_hostAddress != hostAddress) {
|
||||||
disconnectDevice();
|
disconnectDevice();
|
||||||
m_hostAddress = hostAddress;
|
m_hostAddress = hostAddress;
|
||||||
connectDevice();
|
connectDevice();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user