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:
Timur Pocheptsov 2017-02-08 14:06:04 +01:00 committed by Morten Johan Sørvig
parent c25bce109e
commit 6b17d995b7

View File

@ -400,6 +400,7 @@ QT_END_NAMESPACE
self.panelContents.needsDisplay = YES;
self.needsDisplay = YES;
[super layout];
}
@end