Maemo: Remove additional parsing step.

Instead, utilize the newly added INSTALLS information of Qt4ProFileNode.

Task-number: QTCREATORBUG-2679
This commit is contained in:
Christian Kandeler
2010-10-28 09:22:19 +02:00
parent 78b2f25791
commit dbd3965241
9 changed files with 13 additions and 459 deletions

View File

@@ -84,10 +84,6 @@ void MaemoDeployables::createModels()
if (!rootNode) // Happens on project creation by wizard.
return;
m_updateTimer->stop();
m_proFileOption = QSharedPointer<ProFileOption>(new ProFileOption);
m_proFileOption->properties
= qt4BuildConfiguration()->qtVersion()->versionInfo();
m_proFileOption->target_mode = ProFileOption::TARG_UNIX_MODE;
disconnect(qt4BuildConfiguration()->qt4Target()->qt4Project(),
SIGNAL(proFileUpdated(Qt4ProjectManager::Internal::Qt4ProFileNode*)),
m_updateTimer, SLOT(start()));
@@ -137,8 +133,7 @@ void MaemoDeployables::createModels(const Qt4ProFileNode *proFileNode)
= it != m_updateSettings.end()
? it.value() : MaemoDeployableListModel::AskToUpdateProFile;
MaemoDeployableListModel *const newModel
= new MaemoDeployableListModel(proFileNode, m_proFileOption,
updateSetting, this);
= new MaemoDeployableListModel(proFileNode, updateSetting, this);
m_listModels << newModel;
break;
}