From 3d6f26429062d625364eb7d5b0040334937be1f5 Mon Sep 17 00:00:00 2001 From: ck Date: Mon, 16 Aug 2010 17:07:09 +0200 Subject: [PATCH] Maemo: Add newline before appending to project file. Otherwise, if the project file does not already end in a newline, we'd introduce syntax errors. --- .../qt4projectmanager/qt-maemo/maemodeployablelistmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qt4projectmanager/qt-maemo/maemodeployablelistmodel.cpp b/src/plugins/qt4projectmanager/qt-maemo/maemodeployablelistmodel.cpp index d566500c460..2f78a954fae 100644 --- a/src/plugins/qt4projectmanager/qt-maemo/maemodeployablelistmodel.cpp +++ b/src/plugins/qt4projectmanager/qt-maemo/maemodeployablelistmodel.cpp @@ -69,7 +69,7 @@ bool MaemoDeployableListModel::buildModel() return false; } QString installsString - = QLatin1String("maemo5|maemo6 {\n target.path = ") + = QLatin1String("\nmaemo5|maemo6 {\n target.path = ") + remoteDir + QLatin1String("\n INSTALLS += target\n}\n"); if (!projectFile.write(installsString.toLocal8Bit())) { qWarning("Error updating .pro file.");