mirror of
https://github.com/nymea/nymea-plugins.git
synced 2026-07-15 00:22:26 +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";
|
||||
emit error();
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user