From 0c2e8834f5e0323d6c798e123595d62f8373f465 Mon Sep 17 00:00:00 2001
From: Roberto Raggi <roberto.raggi@nokia.com>
Date: Tue, 3 Aug 2010 18:14:24 +0200
Subject: [PATCH] Compile on mac.

---
 .../qt4projectmanager/qt-maemo/maemotemplatesmanager.cpp        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/qt4projectmanager/qt-maemo/maemotemplatesmanager.cpp b/src/plugins/qt4projectmanager/qt-maemo/maemotemplatesmanager.cpp
index 02c4a3cab0b..f990cde9825 100644
--- a/src/plugins/qt4projectmanager/qt-maemo/maemotemplatesmanager.cpp
+++ b/src/plugins/qt4projectmanager/qt-maemo/maemotemplatesmanager.cpp
@@ -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();
-- 
GitLab