diff options
author | Jake Petroules <jake.petroules@petroules.com> | 2015-01-23 23:21:17 -0800 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2015-01-26 12:18:04 +0100 |
commit | c7abce0117e3dd540bbe70c4132fd5723d40ba93 (patch) | |
tree | 771a4e701041ccec406ba4d186441bdb7f56d082 /share/qbs/modules/bundle/BundleModule.qbs | |
parent | 2a385a319d04c4aeacb4c6083d1f524878720700 (diff) |
Fix handling of bundle.frameworkVersion property.
Change-Id: Ie1ed4aeeb56eb3c331d7c41fb5a6ba1495be68e0
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'share/qbs/modules/bundle/BundleModule.qbs')
-rw-r--r-- | share/qbs/modules/bundle/BundleModule.qbs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qbs/modules/bundle/BundleModule.qbs b/share/qbs/modules/bundle/BundleModule.qbs index 7f0fb7c14..64eba98a1 100644 --- a/share/qbs/modules/bundle/BundleModule.qbs +++ b/share/qbs/modules/bundle/BundleModule.qbs @@ -59,7 +59,7 @@ Module { property string frameworkVersion: { if (packageType === "FMWK") { var n = parseInt(product.version, 10); - return isNaN(n) ? 'A' : n; + return isNaN(n) ? 'A' : String(n); } } |