mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
refactor: Modernize Qt connections (#914)
This commit is contained in:
@@ -39,8 +39,8 @@ BoblightClientConnection::BoblightClientConnection(Hyperion* hyperion, QTcpSocke
|
||||
_locale.setNumberOptions(QLocale::OmitGroupSeparator | QLocale::RejectGroupSeparator);
|
||||
|
||||
// connect internal signals and slots
|
||||
connect(_socket, SIGNAL(disconnected()), this, SLOT(socketClosed()));
|
||||
connect(_socket, SIGNAL(readyRead()), this, SLOT(readData()));
|
||||
connect(_socket, &QTcpSocket::disconnected, this, &BoblightClientConnection::socketClosed);
|
||||
connect(_socket, &QTcpSocket::readyRead, this, &BoblightClientConnection::readData);
|
||||
}
|
||||
|
||||
BoblightClientConnection::~BoblightClientConnection()
|
||||
|
Reference in New Issue
Block a user