Apple: Use namespaced category name sandbox helper

Pick-to: 6.6 6.5
Fixes: QTBUG-119338
Change-Id: I8a62b3fff0c1f3de2b6ae3332f6a1ecc7b1561e5
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
bb10
Tor Arne Vestbø 2023-11-22 10:34:01 +01:00
parent c5ba3ac95c
commit c8cd9017f6
2 changed files with 2 additions and 2 deletions

View File

@ -505,7 +505,7 @@ bool qt_apple_isSandboxed()
}
QT_END_NAMESPACE
@implementation NSObject (QtSandboxHelpers)
@implementation NSObject (QtExtras)
- (id)qt_valueForPrivateKey:(NSString *)key
{
if (qt_apple_isSandboxed())

View File

@ -204,7 +204,7 @@ Q_CORE_EXPORT bool qt_apple_isSandboxed();
#if defined(__OBJC__)
QT_END_NAMESPACE
@interface NSObject (QtSandboxHelpers)
@interface NSObject (QtExtras)
- (id)qt_valueForPrivateKey:(NSString *)key;
@end
QT_BEGIN_NAMESPACE