mirror of
https://github.com/nymea/nymea-plugins.git
synced 2026-10-20 14:13:30 +02:00
Make it build with older Qt
This commit is contained in:
parent
affc04d250
commit
1852044ef1
@ -29,7 +29,8 @@ void OwletClient::connectToHost(const QHostAddress &address, int port)
|
|||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
connect(m_socket, &QTcpSocket::errorOccurred, this, [this](){
|
typedef void (QTcpSocket:: *errorSignal)(QAbstractSocket::SocketError);
|
||||||
|
connect(m_socket, static_cast<errorSignal>(&QTcpSocket::error), this, [this](){
|
||||||
qCDebug(dcOwlet()) << "Error in owlet communication";
|
qCDebug(dcOwlet()) << "Error in owlet communication";
|
||||||
emit error();
|
emit error();
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user