forked from qt-creator/qt-creator
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:
@@ -69,7 +69,7 @@ bool MaemoDeployableListModel::buildModel()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
QString installsString
|
QString installsString
|
||||||
= QLatin1String("maemo5|maemo6 {\n target.path = ")
|
= QLatin1String("\nmaemo5|maemo6 {\n target.path = ")
|
||||||
+ remoteDir + QLatin1String("\n INSTALLS += target\n}\n");
|
+ remoteDir + QLatin1String("\n INSTALLS += target\n}\n");
|
||||||
if (!projectFile.write(installsString.toLocal8Bit())) {
|
if (!projectFile.write(installsString.toLocal8Bit())) {
|
||||||
qWarning("Error updating .pro file.");
|
qWarning("Error updating .pro file.");
|
||||||
|
Reference in New Issue
Block a user