Skip to content
Permalink
Browse files

Fix crash on exit

  • Loading branch information
nyalldawson committed Mar 25, 2020
1 parent f231b4a commit a2fb4722db953d6b3e4385d74410f2e0fdc487c7
Showing with 2 additions and 4 deletions.
  1. +0 −1 python/gui/auto_generated/qgsmaptoolextent.sip.in
  2. +2 −3 src/gui/qgsmaptoolextent.h
@@ -10,7 +10,6 @@




class QgsMapToolExtent : QgsMapTool
{
%Docstring
@@ -20,8 +20,7 @@
#include "qgspointxy.h"
#include "qgsrubberband.h"
#include "qgis_gui.h"

#include <memory>
#include "qobjectuniqueptr.h"

class QgsMapCanvas;

@@ -76,7 +75,7 @@ class GUI_EXPORT QgsMapToolExtent : public QgsMapTool

void drawExtent();

std::unique_ptr< QgsRubberBand > mRubberBand;
QObjectUniquePtr< QgsRubberBand > mRubberBand;

QgsPointXY mStartPoint;
QgsPointXY mEndPoint;

0 comments on commit a2fb472

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