QNSPanelContentsWrapper - call [super layout]
Docs say that we have to explicitly call [super layout] from the overriding -layout. On macOS < 10.12 missing -layout call results in a noisy debug message. Task-number: QTBUG-58699 Change-Id: I58ce442f1e3640a6b1ec32774078e2385d73f085 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
This commit is contained in:
parent
c25bce109e
commit
6b17d995b7
@ -400,6 +400,7 @@ QT_END_NAMESPACE
|
||||
self.panelContents.needsDisplay = YES;
|
||||
|
||||
self.needsDisplay = YES;
|
||||
[super layout];
|
||||
}
|
||||
|
||||
@end
|
||||
|
Loading…
Reference in New Issue
Block a user