summaryrefslogtreecommitdiffstats
path: root/qmake/generators/symbian/initprojectdeploy_symbian.cpp
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2009-08-04 08:48:18 (GMT)
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2009-08-04 08:48:18 (GMT)
commitc58ad73ee53374a96dc67b8bf554f14cf718be2a (patch)
treeccc89d3a22c1554877dc39a29c1e13a8d5c99e2b /qmake/generators/symbian/initprojectdeploy_symbian.cpp
parent95812dd991bdcc63c9a4c10d4cf32811aa0c413b (diff)
downloadQt-c58ad73ee53374a96dc67b8bf554f14cf718be2a.zip
Qt-c58ad73ee53374a96dc67b8bf554f14cf718be2a.tar.gz
Qt-c58ad73ee53374a96dc67b8bf554f14cf718be2a.tar.bz2
Whitespace, comment, and dead code cleanup for qmake
Diffstat (limited to 'qmake/generators/symbian/initprojectdeploy_symbian.cpp')
-rw-r--r--qmake/generators/symbian/initprojectdeploy_symbian.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/qmake/generators/symbian/initprojectdeploy_symbian.cpp b/qmake/generators/symbian/initprojectdeploy_symbian.cpp
index 22e4aad..8e3e20b 100644
--- a/qmake/generators/symbian/initprojectdeploy_symbian.cpp
+++ b/qmake/generators/symbian/initprojectdeploy_symbian.cpp
@@ -118,9 +118,7 @@ void initProjectDeploySymbian(QMakeProject* project,
}
QString deploymentDrive = targetPathHasDriveLetter ? targetPath.left(2) : QLatin1String("c:");
- // foreach item in DEPLOYMENT
foreach(QString item, project->values("DEPLOYMENT")) {
- // get item.path
QString devicePath = project->first(item + ".path");
if (!deployBinaries
&& !devicePath.isEmpty()
@@ -172,7 +170,6 @@ void initProjectDeploySymbian(QMakeProject* project,
continue;
}
- // foreach d in item.sources
foreach(QString source, project->values(item + ".sources")) {
source = Option::fixPathToLocalOS(source);
QString nameFilter;
@@ -216,7 +213,7 @@ void initProjectDeploySymbian(QMakeProject* project,
QDirIterator iterator(searchPath, QStringList() << nameFilter
, QDir::Files | QDir::NoDotAndDotDot | QDir::NoSymLinks
, dirSearch ? QDirIterator::Subdirectories : QDirIterator::NoIteratorFlags );
- // foreach dirIterator-entry in d
+
while(iterator.hasNext()) {
iterator.next();
QFileInfo iteratorInfo(iterator.filePath());