Fix a copy-paste error in QWasmWindow
minimumSize.width() was used instead of minimumSize.height() for the lower bound of height Change-Id: I330ea79de8ba39a6c55f5ed9b3210f1ff7d10fb6 Reviewed-by: Aleksandr Reviakin <aleksandr.reviakin@qt.io> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
This commit is contained in:
parent
eb8782cb2e
commit
d748bdadc7
@ -202,7 +202,7 @@ void QWasmWindow::initialize()
|
||||
const QSize targetSize = !rect.isEmpty() ? rect.size() : minimumSize;
|
||||
|
||||
rect.setWidth(qBound(minimumSize.width(), targetSize.width(), maximumSize.width()));
|
||||
rect.setHeight(qBound(minimumSize.width(), targetSize.height(), maximumSize.height()));
|
||||
rect.setHeight(qBound(minimumSize.height(), targetSize.height(), maximumSize.height()));
|
||||
|
||||
setWindowState(window()->windowStates());
|
||||
setWindowFlags(window()->flags());
|
||||
|
Loading…
Reference in New Issue
Block a user