summaryrefslogtreecommitdiff
path: root/src/plugins/remotelinux
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@nokia.com>2011-09-07 15:48:10 +0200
committerChristian Kandeler <christian.kandeler@nokia.com>2011-09-07 15:50:56 +0200
commit9a7ba8fd3f5084463d5d3c11c6693c96e34a256a (patch)
tree279c47f65f1973134816fce5ea371a91726379e1 /src/plugins/remotelinux
parent5288267be0e1ebc4b322bae6cc8d0e6bc28be6a7 (diff)
downloadqt-creator-9a7ba8fd3f5084463d5d3c11c6693c96e34a256a.tar.gz
RemoteLinux: Respect qmake scopes for subdirs deployment.
Task-number: QTCREATORBUG-6017 Change-Id: Ib7e3814c88ad4598e897a0c99103eafb61846eeb Reviewed-on: http://codereview.qt.nokia.com/4365 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
Diffstat (limited to 'src/plugins/remotelinux')
-rw-r--r--src/plugins/remotelinux/deploymentinfo.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/remotelinux/deploymentinfo.cpp b/src/plugins/remotelinux/deploymentinfo.cpp
index d95b02e991..e6c0bbf85f 100644
--- a/src/plugins/remotelinux/deploymentinfo.cpp
+++ b/src/plugins/remotelinux/deploymentinfo.cpp
@@ -122,13 +122,11 @@ void DeploymentInfo::createModels(const Qt4ProFileNode *proFileNode)
m_d->listModels << new DeployableFilesPerProFile(proFileNode, this);
break;
case SubDirsTemplate: {
- const QList<ProjectExplorer::ProjectNode *> &subProjects
- = proFileNode->subProjectNodes();
+ const QList<Qt4PriFileNode *> &subProjects = proFileNode->subProjectNodesExact();
foreach (const ProjectExplorer::ProjectNode * const subProject, subProjects) {
const Qt4ProFileNode * const qt4SubProject
= qobject_cast<const Qt4ProFileNode *>(subProject);
- if (qt4SubProject && !qt4SubProject->path()
- .endsWith(QLatin1String(".pri")))
+ if (qt4SubProject && !qt4SubProject->path().endsWith(QLatin1String(".pri")))
createModels(qt4SubProject);
}
}