diff options
author | Jake Petroules <jake.petroules@theqtcompany.com> | 2015-11-07 20:33:24 -0800 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2015-11-19 11:50:44 +0000 |
commit | 514a0a6d8445e4f7f57481b972b574f1293f48a1 (patch) | |
tree | c3ae5c8530dd753d272ee73e1e94e0b660a092e9 /share/qbs/imports/qbs/DarwinTools | |
parent | b3216a54fc1fc36336648266fd89fc422a02773d (diff) |
Remove dead code from darwin-tools.js
Change-Id: Iaecc732e11a69ec052372925c0fe18d935c9cd9a
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'share/qbs/imports/qbs/DarwinTools')
-rw-r--r-- | share/qbs/imports/qbs/DarwinTools/darwin-tools.js | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/share/qbs/imports/qbs/DarwinTools/darwin-tools.js b/share/qbs/imports/qbs/DarwinTools/darwin-tools.js index 0d67f90ab..056b54af6 100644 --- a/share/qbs/imports/qbs/DarwinTools/darwin-tools.js +++ b/share/qbs/imports/qbs/DarwinTools/darwin-tools.js @@ -69,7 +69,7 @@ function targetDevices(targetOS) { */ function targetedDeviceFamily(deviceNames) { return deviceNames.map(function (deviceName) { - return DarwinTools.appleDeviceNumber(deviceName); + return appleDeviceNumber(deviceName); }).join(","); } @@ -95,15 +95,6 @@ function applePlatformName(targetOSList) { } /** - * Replace characters unsafe for use in a domain name with a '-' character (RFC 1034). - */ -function rfc1034(inStr) { - // ### Remove in Qbs 1.5 - console.warn("DarwinTools.rfc1034 is deprecated; use qbs.rfc1034Identifier instead"); - return qbs.rfc1034Identifier(inStr); -} - -/** * Returns the localization of the resource at the given path, * or undefined if the path does not contain an {xx}.lproj path segment. */ |