summaryrefslogtreecommitdiffstats
path: root/icons
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-02-27 19:01:43 +0100
committerGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-04-07 00:13:35 +0200
commita75360f58f60d1cdbf102e58997555f490969144 (patch)
tree743260c4bfbe7f29716108e47c1526184bcc1d31 /icons
parenta4a06c48bfe2fa6f1644d68bf82e98c196aed7d0 (diff)
downloadsubsurface-a75360f58f60d1cdbf102e58997555f490969144.tar.gz
CylindersModel: test for CHANGED() outside of switch statement
A small code consolidation: With one exception, all targets of the switch statement would test for CHANGED(). Instead do the test once and exit early. This changes the behavior of the function: if not changed, there will be no more dataChanged-signal. However, this appears to be the correct thing to do anyway. And it is easily changed if it matters after all. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'icons')
0 files changed, 0 insertions, 0 deletions