// Parent all QObject-derived attributes, so when the Core instance gets moved into another
// thread, they get moved with it
_server.setParent(this);
// Parent all QObject-derived attributes, so when the Core instance gets moved into another
// thread, they get moved with it
_server.setParent(this);
// check settings version
// so far, we only have 1
CoreSettings s;
// check settings version
// so far, we only have 1
CoreSettings s;
_connectingClients.insert(handler);
connect(handler, SIGNAL(disconnected()), SLOT(clientDisconnected()));
_connectingClients.insert(handler);
connect(handler, SIGNAL(disconnected()), SLOT(clientDisconnected()));
// Potentially called during the initialization phase (before handing the connection off to the session)
void Core::clientDisconnected()
{
// Potentially called during the initialization phase (before handing the connection off to the session)
void Core::clientDisconnected()
{
- disconnect(handler, 0, this, 0);
+ disconnect(handler, nullptr, this, nullptr);