summaryrefslogtreecommitdiffstats
path: root/mkspecs/wasm-emscripten/qmake.conf
diff options
context:
space:
mode:
authorElias Rudberg <mail@eliasrudberg.se>2022-05-29 11:57:55 +0200
committerMarc Mutz <marc.mutz@qt.io>2022-06-01 05:58:49 +0000
commit0c59723e58521d72ddd1501e231120798ad3e6f8 (patch)
tree293a1fe6e9b3eef0c3ae5bfaf758a31070572b46 /mkspecs/wasm-emscripten/qmake.conf
parent70575264bd1d3caef6c3c6e7b19cffa6d94f804b (diff)
Initialize m_exclusive in QGtk3MenuItem constructor
Problem detected while investigating a crash of a program using QT, valgrind was used to detect errors and valgrind reported "Conditional jump or move depends on uninitialised value(s)" due to m_exclusive being uninitialized. Not sure to what extent this fix matters in practice, the crash turned out to be caused by something else outside QT. But anyway it seems good to initialize m_exclusive like other things, in the constructor, and it helps avoiding such warnings from valgrind, that will make it easier to detect other problems using valgrind or similar tools. Amends ac8a1787eb74d374a346ae5982d0ea361747729e where it looks like initialization of this member was simply forgotten. Pick-to: 6.3 6.2 5.15 Change-Id: I3d1637a00b7899eded61c2e4f5f9a1c5041e4f45 Reviewed-by: Marc Mutz <marc.mutz@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Elias Rudberg <mail@eliasrudberg.se>
Diffstat (limited to 'mkspecs/wasm-emscripten/qmake.conf')
0 files changed, 0 insertions, 0 deletions