diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2017-06-08 13:38:52 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-06-12 09:49:05 -0700 |
commit | a7288cc912267415196cfa956b7813752748c35c (patch) | |
tree | 0930b1b52ddcf6fef28bfda01b907652ac3d86ed /subsurface-mobile-helper.cpp | |
parent | 22e40063f173e381ecf9385be0d1facc69770f02 (diff) | |
download | subsurface-a7288cc912267415196cfa956b7813752748c35c.tar.gz |
QML UI: do not crash on selecting dive computers
For reasons unknown to me, the DCDeviceData instance was freed way too early,
and used afterwards, obviously resulting in a SIGSEGV. This commit creates
the DCDeviceData as a direct child of the QMLManager instance, ensuring
it does not get freed prematurely.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-mobile-helper.cpp')
0 files changed, 0 insertions, 0 deletions