summaryrefslogtreecommitdiffstats
path: root/qmake/generators/symbian/symbiancommon.cpp
diff options
context:
space:
mode:
authorThomas Zander <t.zander@nokia.com>2010-03-31 12:08:09 (GMT)
committerThomas Zander <t.zander@nokia.com>2010-03-31 12:08:09 (GMT)
commit56949fc36c30a84e716b66ac74f3a0a8de74cc8e (patch)
treedbb5b05f4549c829dd1fc2295e75bad0662598d9 /qmake/generators/symbian/symbiancommon.cpp
parentb75ebb19032ab2b739c848ed1e8cc1fa74f3cd21 (diff)
downloadQt-56949fc36c30a84e716b66ac74f3a0a8de74cc8e.zip
Qt-56949fc36c30a84e716b66ac74f3a0a8de74cc8e.tar.gz
Qt-56949fc36c30a84e716b66ac74f3a0a8de74cc8e.tar.bz2
Cleanup the deployment code
Remove local defines and passing of a list while its never used, only define it where its actually used.
Diffstat (limited to 'qmake/generators/symbian/symbiancommon.cpp')
-rw-r--r--qmake/generators/symbian/symbiancommon.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qmake/generators/symbian/symbiancommon.cpp b/qmake/generators/symbian/symbiancommon.cpp
index 54b60be..10889c4 100644
--- a/qmake/generators/symbian/symbiancommon.cpp
+++ b/qmake/generators/symbian/symbiancommon.cpp
@@ -142,7 +142,7 @@ void SymbianCommonGenerator::removeEpocSpecialCharacters(QString& str)
removeSpecialCharacters(str);
}
-void SymbianCommonGenerator::generatePkgFile(const QString &iconFile, DeploymentList &depList, bool epocBuild)
+void SymbianCommonGenerator::generatePkgFile(const QString &iconFile, bool epocBuild)
{
QMakeProject *project = generator->project;
QString pkgTarget = project->first("QMAKE_ORIG_TARGET");
@@ -361,6 +361,7 @@ void SymbianCommonGenerator::generatePkgFile(const QString &iconFile, Deployment
QString remoteTestPath;
remoteTestPath = QString("!:\\private\\%1").arg(privateDirUid);
+ DeploymentList depList;
initProjectDeploySymbian(project, depList, remoteTestPath, true, epocBuild, "$(PLATFORM)", "$(TARGET)", generatedDirs, generatedFiles);
if (depList.size())
t << "; DEPLOYMENT" << endl;