mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
Remove unused captures from lambdas in main()
This commit is contained in:
parent
c396caee5e
commit
14e71778a8
1 changed files with 2 additions and 2 deletions
|
@ -114,12 +114,12 @@ int main(int argc, const char* argv[]) {
|
|||
server.removeServer(applicationName);
|
||||
server.listen(applicationName);
|
||||
|
||||
QObject::connect(&server, &QLocalServer::newConnection, qApp, [&app, &server]() {
|
||||
QObject::connect(&server, &QLocalServer::newConnection, qApp, [&server]() {
|
||||
qDebug() << "Got connection on local server";
|
||||
|
||||
auto socket = server.nextPendingConnection();
|
||||
|
||||
QObject::connect(socket, &QLocalSocket::readyRead, qApp, [&app, socket]() {
|
||||
QObject::connect(socket, &QLocalSocket::readyRead, qApp, [&socket]() {
|
||||
auto message = socket->readAll();
|
||||
socket->close();
|
||||
|
||||
|
|
Loading…
Reference in a new issue