summaryrefslogtreecommitdiffstats
path: root/src/tools/uic/cpp/cppwriteincludes.cpp
diff options
context:
space:
mode:
authorMikolaj Boc <mikolaj.boc@qt.io>2022-09-12 10:43:07 +0200
committerMikolaj Boc <mikolaj.boc@qt.io>2022-09-12 20:09:03 +0200
commit91d7dcea1123d32807ba56269004bcd3c9afa202 (patch)
tree5369b6444273e5bef96dff28d73a80fd7eab430c /src/tools/uic/cpp/cppwriteincludes.cpp
parent0c1368c7e407d2a7f7814b703c6e6de6a40efa8b (diff)
Fix QWasmWindowStack::topWindow when the stack is empty
The method should by contract return nullptr when the stack is empty, but it crashes in this case. Also, unit-test the case. Pick-to: 6.4 Change-Id: If64b71e761efd9a5cd5af407cd68cba7f8dbc8e2 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/tools/uic/cpp/cppwriteincludes.cpp')
0 files changed, 0 insertions, 0 deletions