QWindow: Fix error for unused capture
Amends 89ce65c2d0
Pick-to: 6.6
Change-Id: Ifddf6b2e849929137d1db8f777a7cb9fa3cd2038
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
parent
09b852b1d8
commit
e4d545b4c6
@ -237,6 +237,8 @@ void QWindowPrivate::init(QScreen *targetScreen)
|
||||
QWindowSystemInterfacePrivate::GeometryChangeEvent gce(q, QHighDpi::fromNativePixels(q->handle()->geometry(), q));
|
||||
QGuiApplicationPrivate::processGeometryChangeEvent(&gce);
|
||||
}
|
||||
#else
|
||||
Q_UNUSED(q);
|
||||
#endif
|
||||
updateDevicePixelRatio();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user