diff options
author | Samuel Gaist <samuel.gaist@edeltech.ch> | 2015-10-18 00:11:49 +0200 |
---|---|---|
committer | Jake Petroules <jake.petroules@theqtcompany.com> | 2015-10-18 21:00:10 +0000 |
commit | f7e9e035fd379ae4ad8cf2771e5ceca3e7602286 (patch) | |
tree | 17872bf5959472062f64a18576cc21a3d01a7ab6 /tests/auto/corelib/tools/qstring | |
parent | 27361eadf178e6544277118973a00151daebfc8a (diff) |
Fix cocoa plugin build with OS X 10.8 SDK
With the 10.8 SDK, NSArray may not respond to firstObject which ends the
build with an error. This implementation doesn't use it and also handles
the case where no screen is available when calling
qt_mac_mainScreenHeight
Change-Id: Idce278423c37cc24d8fc31062a386e78d6487492
Reviewed-by: Jake Petroules <jake.petroules@theqtcompany.com>
Diffstat (limited to 'tests/auto/corelib/tools/qstring')
0 files changed, 0 insertions, 0 deletions