forked from qt-creator/qt-creator
Help/macOS: Remove use of deprecated function
Change-Id: I8bffe04ab8900879417063041f4ee48886e31480 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -169,7 +169,7 @@ static QPoint flipPoint(const NSPoint &p)
|
||||
|
||||
NSURL *resolvedURL = data.resolvedUrl.toNSURL();
|
||||
NSString *mimeType = data.mimeType.toNSString();
|
||||
NSData *nsdata = QtMac::toNSData(data.data); // Qt 5.3 has this in QByteArray
|
||||
NSData *nsdata = data.data.toNSData();
|
||||
NSURLResponse *response = [[NSURLResponse alloc] initWithURL:resolvedURL
|
||||
MIMEType:mimeType
|
||||
expectedContentLength:data.data.length()
|
||||
|
Reference in New Issue
Block a user