Skip to content
Permalink
Browse files

Avoid crash in gps info widget due to storage of potentially removed …

…layer pointer

(cherry-picked from 19a4357)
  • Loading branch information
nyalldawson committed Aug 17, 2018
1 parent cddbf96 commit 5d6ea607149e3d87d1ba855b87a14b18fa2ff6d1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/gps/qgsgpsinformationwidget.h
@@ -102,7 +102,7 @@ class QgsGpsInformationWidget: public QWidget, private Ui::QgsGpsInformationWidg
QList<QgsPointXY> mCaptureList;
FixStatus mLastFixStatus;
QString mDateTimeFormat; // user specified format string in registry (no UI presented)
QgsVectorLayer *mpLastLayer = nullptr;
QPointer< QgsVectorLayer > mpLastLayer;
QFile *mLogFile = nullptr;
QTextStream mLogFileTextStream;
QColor mTrackColor;

0 comments on commit 5d6ea60

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