48 lines
2.2 KiB
Diff
48 lines
2.2 KiB
Diff
diff --git a/src/platformsupport/fontdatabases/mac/qfontengine_coretext.mm b/src/platformsupport/fontdatabases/mac/qfontengine_coretext.mm
|
|
index 66baf16..89794ef 100644
|
|
--- a/src/platformsupport/fontdatabases/mac/qfontengine_coretext.mm
|
|
+++ b/src/platformsupport/fontdatabases/mac/qfontengine_coretext.mm
|
|
@@ -830,7 +830,7 @@ void QCoreTextFontEngine::getUnscaledGlyph(glyph_t glyph, QPainterPath *path, gl
|
|
|
|
QFixed QCoreTextFontEngine::emSquareSize() const
|
|
{
|
|
- return QFixed::QFixed(int(CTFontGetUnitsPerEm(ctfont)));
|
|
+ return QFixed(int(CTFontGetUnitsPerEm(ctfont)));
|
|
}
|
|
|
|
QFontEngine *QCoreTextFontEngine::cloneWithSize(qreal pixelSize) const
|
|
diff --git a/src/plugins/bearer/corewlan/qcorewlanengine.mm b/src/plugins/bearer/corewlan/qcorewlanengine.mm
|
|
index 341d3bc..3368234 100644
|
|
--- a/src/plugins/bearer/corewlan/qcorewlanengine.mm
|
|
+++ b/src/plugins/bearer/corewlan/qcorewlanengine.mm
|
|
@@ -287,7 +287,7 @@ void QScanThread::getUserConfigurations()
|
|
QMacAutoReleasePool pool;
|
|
userProfiles.clear();
|
|
|
|
- NSArray<NSString *> *wifiInterfaces = [CWWiFiClient interfaceNames];
|
|
+ NSArray *wifiInterfaces = [CWWiFiClient interfaceNames];
|
|
for (NSString *ifName in wifiInterfaces) {
|
|
|
|
CWInterface *wifiInterface = [[CWWiFiClient sharedWiFiClient] interfaceWithName:ifName];
|
|
@@ -602,7 +602,7 @@ void QCoreWlanEngine::doRequestUpdate()
|
|
|
|
QMacAutoReleasePool pool;
|
|
|
|
- NSArray<NSString *> *wifiInterfaces = [CWWiFiClient interfaceNames];
|
|
+ NSArray *wifiInterfaces = [CWWiFiClient interfaceNames];
|
|
for (NSString *ifName in wifiInterfaces) {
|
|
scanThread->interfaceName = QString::fromNSString(ifName);
|
|
scanThread->start();
|
|
diff --git a/src/plugins/platforms/cocoa/qcocoawindow.mm b/src/plugins/platforms/cocoa/qcocoawindow.mm
|
|
index 5cd4beb..84919e6 100644
|
|
--- a/src/plugins/platforms/cocoa/qcocoawindow.mm
|
|
+++ b/src/plugins/platforms/cocoa/qcocoawindow.mm
|
|
@@ -320,7 +320,7 @@ static void qt_closePopups()
|
|
+ (void)applicationActivationChanged:(NSNotification*)notification
|
|
{
|
|
const id sender = self;
|
|
- NSEnumerator<NSWindow*> *windowEnumerator = nullptr;
|
|
+ NSEnumerator *windowEnumerator = nullptr;
|
|
NSApplication *application = [NSApplication sharedApplication];
|
|
|
|
#if QT_MACOS_PLATFORM_SDK_EQUAL_OR_ABOVE(__MAC_10_12)
|