Commit 8ba4003c authored by Christian Kandeler's avatar Christian Kandeler Committed by Eike Ziller
Browse files

Harmattan: Don't overwrite manifest file when opening project.

Task-number: QTCREATORBUG-6117

Change-Id: I53bf05340ee20596f4a2a5cfee81735f037b22cb
Reviewed-on: http://codereview.qt-project.org/5011

Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarEike Ziller <eike.ziller@nokia.com>
parent 65152538
......@@ -1142,7 +1142,9 @@ QString Qt4HarmattanTarget::aegisManifestFileName()
void Qt4HarmattanTarget::handleTargetAddedSpecial()
{
AbstractDebBasedQt4MaemoTarget::handleTargetAddedSpecial();
QFile(debianDirPath() + QLatin1Char('/') + aegisManifestFileName()).open(QIODevice::WriteOnly);
QFile aegisFile(debianDirPath() + QLatin1Char('/') + aegisManifestFileName());
if (!aegisFile.exists())
aegisFile.open(QIODevice::WriteOnly);
}
void Qt4HarmattanTarget::addAdditionalControlFileFields(QByteArray &controlContents)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment