Commit c286afee authored by Tor Arne Vestbø's avatar Tor Arne Vestbø
Browse files

tst_QWindow::initialSize: Use showNormal() instead of show()


On some platforms show() may result in the window being shown full
screen, depending on the defaultWindowState of the platform. If
that's the case, the resulting window size does not follow
the requested size (though the internal normal geometry should).

We need to use showNormal, so that we guarantee that the window
state is WindowNoState.

Change-Id: Ied080eaca13d759501ea292b5e6b2df4e3b32426
Reviewed-by: default avatarJan Arve Sæther <jan-arve.saether@theqtcompany.com>
parent bad3325c
Branches
Tags
No related merge requests found
Showing with 3 additions and 3 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment