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:
Mårten Nordheim 2023-09-08 11:45:38 +02:00
parent 09b852b1d8
commit e4d545b4c6

View File

@ -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();
});