I think this line deserves a comment explaining why this has to be a direct connection, which will cause QMirServer::serverStopped to be called from within MirServerWorker's thread.
trunk has a terse comment about it.
Which makes me think maybe you should say from which thread QMirServer::serverStopped() will be called in the documentation of QMirServer::serverStopped() itself. Helps keeping tabs on this tricky cross-thread communication.
in src/platforms/ mirserver/ qmirserver. cpp:
""" d->serverWorker , &MirServerWorke r::stopped, this, &QMirServer: :serverStopped, Qt::DirectConne ction);
connect(
"""
I think this line deserves a comment explaining why this has to be a direct connection, which will cause QMirServer: :serverStopped to be called from within MirServerWorker's thread.
trunk has a terse comment about it.
Which makes me think maybe you should say from which thread QMirServer: :serverStopped( ) will be called in the documentation of QMirServer: :serverStopped( ) itself. Helps keeping tabs on this tricky cross-thread communication.