equal
deleted
inserted
replaced
33 |
33 |
34 bool listnening = server->listen(path); |
34 bool listnening = server->listen(path); |
35 |
35 |
36 if (listnening) { |
36 if (listnening) { |
37 std::wcout << L"Listening on: " << path.toStdWString() << std::endl; |
37 std::wcout << L"Listening on: " << path.toStdWString() << std::endl; |
|
38 std::wcout << L"To allow client connections do:" << std::endl; |
|
39 std::wcout << L"ln -s " << path.toStdWString() << " /var/run/spnav.sock" << std::endl; |
38 |
40 |
39 connect(server, &QLocalServer::newConnection, [path, this]() { |
41 connect(server, &QLocalServer::newConnection, [path, this]() { |
40 std::wcout << L"New connection on: " << path.toStdWString() << std::endl; |
42 std::wcout << L"New connection on: " << path.toStdWString() << std::endl; |
41 connections.push_back(server->nextPendingConnection()); |
43 connections.push_back(server->nextPendingConnection()); |
42 }); |
44 }); |