Maemo: Adapt list of deployables for "aux" project.

This commit is contained in:
Christian Kandeler
2011-05-05 17:43:52 +02:00
parent e751a135db
commit 6b5ce26bf6
3 changed files with 16 additions and 9 deletions

View File

@@ -85,7 +85,7 @@ bool MaemoDeployableListModel::buildModel()
const QStringList deployInfo = QStringList() << remoteDir
<< QLatin1String("INSTALLS += target");
return addLinesToProFile(deployInfo);
} else {
} else if (m_projectType != AuxTemplate) {
m_deployables.prepend(MaemoDeployable(localExecutableFilePath(),
m_installsList.targetPath));
}
@@ -209,7 +209,8 @@ void MaemoDeployableListModel::setProFileUpdateSetting(ProFileUpdateSetting upda
bool MaemoDeployableListModel::isEditable(const QModelIndex &index) const
{
return index.row() == 0 && index.column() == 1
return m_projectType != AuxTemplate
&& index.row() == 0 && index.column() == 1
&& m_deployables.first().remoteDir.isEmpty();
}