summaryrefslogtreecommitdiffstats
path: root/qt-models
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-10-04 03:52:02 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-03 21:34:43 -0700
commit52445ec8f5bb957a41c6650982e69c96174eee8a (patch)
treea76e3128f7ed86a927412906096a7c7e7334ac2b /qt-models
parente3118d915cf49de4cc722522031b0be44014d790 (diff)
downloadsubsurface-52445ec8f5bb957a41c6650982e69c96174eee8a.tar.gz
dive-list: maintain a single instance of DiveTripModel
A weird crash occurs if DiveListView creates another local instance of DiveTripModel inside reload(). Re-use the member variable tripModel and assign it a new instance of DiveTripModel. Reported-by: Gaetan Bisson <bisson@archlinux.org> Tested-by: Gaetan Bisson <bisson@archlinux.org> Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'qt-models')
0 files changed, 0 insertions, 0 deletions