initialise mDrawWithCompass in UBGraphicsScene

Detected using valgrind
preferencesAboutTextFull
Victor "multun" Collod 5 years ago
parent ab51a2eb24
commit 038f9ed07b
  1. 3
      src/domain/UBGraphicsScene.cpp

@ -337,8 +337,9 @@ UBGraphicsScene::UBGraphicsScene(UBDocumentProxy* parent, bool enableUndoRedoSta
, magniferDisplayViewWidget(0) , magniferDisplayViewWidget(0)
, mZLayerController(new UBZLayerController(this)) , mZLayerController(new UBZLayerController(this))
, mpLastPolygon(NULL) , mpLastPolygon(NULL)
, mCurrentPolygon(0)
, mTempPolygon(NULL) , mTempPolygon(NULL)
, mDrawWithCompass(false)
, mCurrentPolygon(0)
, mSelectionFrame(0) , mSelectionFrame(0)
{ {
UBCoreGraphicsScene::setObjectName("BoardScene"); UBCoreGraphicsScene::setObjectName("BoardScene");

Loading…
Cancel
Save