Fix warning from unused parameter

Change-Id: I2e31d43492f94edf4030fdbd88c1000396bdf250
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
bb10
Volker Hilsheimer 2020-08-25 15:12:13 +02:00
parent f3eb9aa257
commit 967f2fbfad
1 changed files with 1 additions and 0 deletions

View File

@ -213,6 +213,7 @@
*/
- (void)drawRect:(NSRect)dirtyBoundingRect
{
Q_UNUSED(dirtyBoundingRect);
Q_ASSERT_X(!self.layer, "QNSView",
"The drawRect code path should not be hit when we are layer backed");
}