mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Initialize members
Globe: initialize doubleClick member ShiftTimesDialog: initialize when (not sure this could be a problem) SetpointDialog: dc could be uninitialized or could be 0 and dereferenced Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
83a5778f62
commit
a6e9db196f
2 changed files with 9 additions and 4 deletions
|
@ -38,7 +38,8 @@ GlobeGPS::GlobeGPS(QWidget *parent) : MarbleWidget(parent),
|
|||
fixZoomTimer(new QTimer(this)),
|
||||
currentZoomLevel(0),
|
||||
needResetZoom(false),
|
||||
editingDiveLocation(false)
|
||||
editingDiveLocation(false),
|
||||
doubleClick(false)
|
||||
{
|
||||
#ifdef MARBLE_SUBSURFACE_BRANCH
|
||||
// we need to make sure this gets called after the command line arguments have
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue