macOS: Remove unneeded Objective-C instance variable declarations
And their corresponding synthesizations. The compiler will take care of it for us. Change-Id: Ifa42e0732059008af6f3f65151bf203a1a19079d Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
This commit is contained in:
parent
85cbd35178
commit
d95414171f
@ -75,7 +75,6 @@ typedef NSWindow<QNSWindowProtocol> QCocoaNSWindow;
|
||||
|
||||
@interface QT_MANGLE_NAMESPACE(QNSWindowHelper) : NSObject
|
||||
{
|
||||
QCocoaNSWindow *_window;
|
||||
QPointer<QCocoaWindow> _platformWindow;
|
||||
}
|
||||
|
||||
@ -94,9 +93,6 @@ QT_NAMESPACE_ALIAS_OBJC_CLASS(QNSWindowHelper);
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@interface QT_MANGLE_NAMESPACE(QNSWindow) : NSWindow<QNSWindowProtocol>
|
||||
{
|
||||
QNSWindowHelper *_helper;
|
||||
}
|
||||
@end
|
||||
|
||||
QT_NAMESPACE_ALIAS_OBJC_CLASS(QNSWindow);
|
||||
@ -104,9 +100,6 @@ QT_NAMESPACE_ALIAS_OBJC_CLASS(QNSWindow);
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@interface QT_MANGLE_NAMESPACE(QNSPanel) : NSPanel<QNSWindowProtocol>
|
||||
{
|
||||
QNSWindowHelper *_helper;
|
||||
}
|
||||
@end
|
||||
|
||||
QT_NAMESPACE_ALIAS_OBJC_CLASS(QNSPanel);
|
||||
|
@ -89,8 +89,6 @@ static bool isMouseEvent(NSEvent *ev)
|
||||
|
||||
@implementation QNSWindowHelper
|
||||
|
||||
@synthesize window = _window;
|
||||
|
||||
- (QCocoaWindow *)platformWindow
|
||||
{
|
||||
return _platformWindow.data();
|
||||
|
Loading…
Reference in New Issue
Block a user