Commit dbd81a0b authored by Maurice Kalinowski's avatar Maurice Kalinowski
Browse files

winrt: Fix potential startup crash


Depending on the windowstate passed to QWinRTWindow constructor we might
act on the uiElement which has not been created yet. This happened
especially in release mode, probably due to timing.

Hence delay uiElement changes until we created it in the constructor and
can ensure it is valid.

Change-Id: I00daa9fcf8542a0535bbcb663a76d85c36e510e2
Reviewed-by: default avatarAndrew Knight <andrew.knight@intopalo.com>
Reviewed-by: default avatarOliver Wolff <oliver.wolff@qt.io>
parent 33c5df28
No related merge requests found
Showing with 4 additions and 3 deletions
Supports Markdown
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