aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel/src/unitymenuaction.h
diff options
context:
space:
mode:
authorAlbert Astals <albert.astals@canonical.com>2014-02-28 12:39:58 +0000
committerTarmac <>2014-02-28 12:39:58 +0000
commit788ebe3e81885b48051087afb4d8256366d7d262 (patch)
tree85ff15cee145e5b07038d4f5e4a83edba349b1c9 /libqmenumodel/src/unitymenuaction.h
parent24aa85ffbd8d84f0cb7cb1e5d66fc4ca1d934f38 (diff)
parent7b70ef5dae3e27317725942b9eb158adcaed24ee (diff)
downloadqmenumodel-788ebe3e81885b48051087afb4d8256366d7d262.tar.gz
qmenumodel-788ebe3e81885b48051087afb4d8256366d7d262.tar.bz2
qmenumodel-788ebe3e81885b48051087afb4d8256366d7d262.zip
Fix use of un-initialized memory
Since m_valid was not initialized calling setValid ends up in an uninitialized memory use in the if comparison. The other thing setValid does is emitting a signal, but this is the constructor, so you don't need the signal either, so basically just assign the variable directly . Approved by PS Jenkins bot, Lars Uebernickel.
Diffstat (limited to 'libqmenumodel/src/unitymenuaction.h')
0 files changed, 0 insertions, 0 deletions