diff options
author | Gabriel de Dietrich <gabriel.dedietrich@qt.io> | 2017-01-09 12:39:05 -0800 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2017-01-12 02:14:25 +0000 |
commit | a50ed8685fabeb477ec89ff73a3164f4a2b60687 (patch) | |
tree | 9f6ba226a77150726b547fddbbbd897f9c817829 /src/corelib/tools/qdatetime_p.h | |
parent | 2b928ef6f95c528449d6ec9650325f3ccaac5094 (diff) |
QCocoaWindow: Fix 10.10 sheet API deprecation warning
'beginSheet:modalForWindow:modalDelegate:didEndSelector:
contextInfo:' is deprecated: first deprecated in macOS
10.10 - Use -[NSWindow beginSheet:completionHandler:]
instead [-Wdeprecated-declarations]
Similarly, although it won't emit any warning, we replace
the usage of -[NSApplication endSheet:] wit -[NSWindow
endSheet:].
Change-Id: Iae71247f818b7183d09c6831fa4cb1b71a54a87a
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/corelib/tools/qdatetime_p.h')
0 files changed, 0 insertions, 0 deletions