Skip to content
Browse files
Avoid crash in gps info widget due to storage of potentially removed …
…layer pointer
  • Loading branch information
nyalldawson committed Aug 17, 2018
1 parent 56b6ebd commit 19a4357fdfcf03224fc9baea09c870a57c351c09
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/gps/qgsgpsinformationwidget.h
@@ -109,7 +109,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;
QIntValidator *mAcquisitionIntValidator = nullptr;

0 comments on commit 19a4357

Please sign in to comment.