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.
This commit is contained in:
ck
2010-08-16 17:07:09 +02:00
parent 362c41be5b
commit 3d6f264290

View File

@@ -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.");