Compile on mac.

This commit is contained in:
Roberto Raggi
2010-08-03 18:14:24 +02:00
parent c4d4a493a9
commit 0c2e8834f5

View File

@@ -235,7 +235,7 @@ bool MaemoTemplatesManager::setVersion(const Project *project,
QString content = QString::fromUtf8(changeLog.readAll());
content.replace(QRegExp(QLatin1String("\\([a-zA-Z0-9_\\.]+\\)")),
QLatin1Char('(') % version % QLatin1Char(')'));
QLatin1Char('(') + version + QLatin1Char(')'));
changeLog.resize(0);
changeLog.write(content.toUtf8());
changeLog.close();