summaryrefslogtreecommitdiffstats
path: root/src/angle/src
diff options
context:
space:
mode:
authorSamuel Gaist <samuel.gaist@edeltech.ch>2014-01-29 08:38:40 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-14 22:40:19 +0100
commitbcfc68f9cd00982decd7ceb312966caf6b1ca05e (patch)
tree9c59c4ddca94df148cf534a4a4a056ec8c9d00df /src/angle/src
parent6b56b2ddb2c3b744047cd35cc88a16531a2d3048 (diff)
Use Uniform Type Identifiers to detect OS X bundles
Following Apple's documentation, the first step to identify a bundle is to check if it has a known extension. Currently, it's done using string comparisons ored in an if statement. The list is not complete and new types, whether provided by a system update or other means, can't be detected. The new approach is to use Uniform Type Identifier which queries the OS directly to check whether the extension conforms to kUTTypeBundle. That includes e.g. applications, frameworks etc. Task-number: QTBUG-31884 Change-Id: Ief73a83904adf27ccb71b0070e67cba081d1fd4a Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/angle/src')
0 files changed, 0 insertions, 0 deletions