forked from qt-creator/qt-creator
Add some more comments
Add some developer comments explaining which method is designed to be called from a certain thread. Add also some comments about in which thread certain QObjects live in. Change-Id: I38b10216cc29f8a86fd784e588e913407f0fb776 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -210,11 +210,13 @@ LauncherInterface::~LauncherInterface()
|
||||
|
||||
void LauncherInterface::startLauncher()
|
||||
{
|
||||
// Call in launcher's thread.
|
||||
QMetaObject::invokeMethod(instance().m_private, &LauncherInterfacePrivate::doStart);
|
||||
}
|
||||
|
||||
void LauncherInterface::stopLauncher()
|
||||
{
|
||||
// Call in launcher's thread.
|
||||
QMetaObject::invokeMethod(instance().m_private, &LauncherInterfacePrivate::doStop);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user