Skip to content
Permalink
Browse files

Followup a8f85fb fix crash on exit

  • Loading branch information
3nids committed Aug 28, 2015
1 parent 32cf296 commit 4ad6168989ce65306c409f97dc8f0f83e2b0398c
@@ -32,6 +32,10 @@ QgsAdvancedDigitizingCanvasItem::QgsAdvancedDigitizingCanvasItem( QgsMapCanvas*
{
}

QgsAdvancedDigitizingCanvasItem::~QgsAdvancedDigitizingCanvasItem()
{
}

void QgsAdvancedDigitizingCanvasItem::paint( QPainter* painter )
{
if ( !mAdvancedDigitizingDockWidget->cadEnabled() )
@@ -29,6 +29,7 @@ class APP_EXPORT QgsAdvancedDigitizingCanvasItem : public QgsMapCanvasItem
{
public:
explicit QgsAdvancedDigitizingCanvasItem( QgsMapCanvas* canvas, QgsAdvancedDigitizingDockWidget* cadDockWidget );
~QgsAdvancedDigitizingCanvasItem();

void paint( QPainter *painter ) override;

@@ -185,7 +185,6 @@ QgsAdvancedDigitizingDockWidget::QgsAdvancedDigitizingDockWidget( QgsMapCanvas*
QgsAdvancedDigitizingDockWidget::~QgsAdvancedDigitizingDockWidget()
{
delete mErrorMessage;
delete mCadPaintItem;
delete mAngleConstraint;
delete mDistanceConstraint;
delete mXConstraint;

0 comments on commit 4ad6168

Please sign in to comment.
You can’t perform that action at this time.