From 02a4fc72b95100b44f22f533c9dc21096aab3b24 Mon Sep 17 00:00:00 2001 From: Christian Kandeler <christian.kandeler@nokia.com> Date: Fri, 17 Sep 2010 15:10:21 +0200 Subject: [PATCH] Mobile Wizards: Change version string in generated files. Hexadecimal format is easier to parse for humans. --- src/plugins/qt4projectmanager/wizards/abstractmobileapp.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/qt4projectmanager/wizards/abstractmobileapp.cpp b/src/plugins/qt4projectmanager/wizards/abstractmobileapp.cpp index 303981cb9ab..0634e42bd02 100644 --- a/src/plugins/qt4projectmanager/wizards/abstractmobileapp.cpp +++ b/src/plugins/qt4projectmanager/wizards/abstractmobileapp.cpp @@ -378,7 +378,8 @@ QByteArray AbstractMobileApp::generateFile(int fileType, versioned.replace('\x0A', ""); const quint16 checkSum = qChecksum(versioned.constData(), versioned.length()); const QString checkSumString = QString::number(checkSum, 16); - const QString versionString = QString::number(makeStubVersion(stubVersionMinor())); + const QString versionString + = QString::number(makeStubVersion(stubVersionMinor()), 16); const QChar sep = QLatin1Char(' '); const QString versionLine = comment + sep + FileChecksum + sep + QLatin1String("0x") + checkSumString -- GitLab