diff options
author | Ivan Komissarov <ABBAPOH@gmail.com> | 2019-11-19 23:38:40 +0900 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2019-11-20 11:29:21 +0000 |
commit | 36d6566ce7a97556f30628c378037d4162fee8f7 (patch) | |
tree | 197b42bbccb171386049718c5f2ddbcf786e22c5 /examples | |
parent | 0c17bb8a6c38681c3f0fff92f7ebebfc7a6aabc9 (diff) |
Fix compiler warnings on macOS
Change-Id: I865357bf74bdaf88eabae5681c70a6e5032e274d
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/cocoa-touch-application/CocoaTouchApplication/MasterViewController.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cocoa-touch-application/CocoaTouchApplication/MasterViewController.m b/examples/cocoa-touch-application/CocoaTouchApplication/MasterViewController.m index 6024d67c4..ebac52dcd 100644 --- a/examples/cocoa-touch-application/CocoaTouchApplication/MasterViewController.m +++ b/examples/cocoa-touch-application/CocoaTouchApplication/MasterViewController.m @@ -43,7 +43,7 @@ self.title = NSLocalizedString(@"Master", @"Master"); if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad) { self.clearsSelectionOnViewWillAppear = NO; - self.contentSizeForViewInPopover = CGSizeMake(320.0, 600.0); + self.preferredContentSize = CGSizeMake(320.0, 600.0); } } return self; |