make ProMessageHandler connect directly to the message manager

that way the users don't have to duplicate the connect everywhere.
as a side effect, MaemoPackageContents will have error reporting now.
This commit is contained in:
Oswald Buddenhagen
2010-06-18 20:17:39 +02:00
parent 058354ceab
commit 7d962189ae
3 changed files with 12 additions and 4 deletions

View File

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