error message delivery threading fixes

the message manager is not thread-safe, so don't use it outside the main
thread.
This commit is contained in:
Oswald Buddenhagen
2010-06-15 16:34:03 +02:00
parent 5120a83ee9
commit 13bb14dd3c
2 changed files with 7 additions and 9 deletions

View File

@@ -932,7 +932,8 @@ ProFileReader *Qt4Project::createProFileReader(Qt4ProFileNode *qt4ProFileNode)
ProFileReader *reader = new ProFileReader(m_proFileOption);
connect(reader, SIGNAL(errorFound(QString)),
this, SLOT(proFileParseError(QString)));
this, SLOT(proFileParseError(QString)),
Qt::QueuedConnection);
reader->setOutputDir(qt4ProFileNode->buildDir());