Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 14, 2022
1 parent 09b0d0c commit 7c4cb30
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
7 changes: 0 additions & 7 deletions src/app/gps/qgsappgpsdigitizing.cpp
Expand Up @@ -20,8 +20,6 @@
#include "qgsgui.h"
#include "qgisapp.h"
#include "qgsmessagebar.h"
#include "gmath.h"
#include "info.h"
#include "qgspolygon.h"
#include "qgsmapcanvas.h"
#include "qgsfeatureaction.h"
Expand Down Expand Up @@ -96,11 +94,6 @@ QgsAppGpsDigitizing::~QgsAppGpsDigitizing()
mRubberBand = nullptr;
}

const QgsDistanceArea &QgsAppGpsDigitizing::distanceArea() const
{
return mDa;
}

void QgsAppGpsDigitizing::addVertex( const QgsPoint &wgs84Point )
{
if ( !mRubberBand )
Expand Down
8 changes: 0 additions & 8 deletions src/app/gps/qgsappgpsdigitizing.h
Expand Up @@ -31,7 +31,6 @@ class QgsRubberBand;
class QgsPoint;
class QgsGpsInformation;
class QgsVectorLayer;
class QTimer;
class QFile;

class APP_EXPORT QgsAppGpsDigitizing: public QgsGpsLogger
Expand All @@ -47,11 +46,6 @@ class APP_EXPORT QgsAppGpsDigitizing: public QgsGpsLogger
QgsAppGpsDigitizing( QgsAppGpsConnection *connection, QgsMapCanvas *canvas, QObject *parent = nullptr );
~QgsAppGpsDigitizing() override;

/**
* Returns the distance area calculator used to calculate track lengths.
*/
const QgsDistanceArea &distanceArea() const;

public slots:
void createFeature();
void setNmeaLogFile( const QString &filename );
Expand Down Expand Up @@ -90,8 +84,6 @@ class APP_EXPORT QgsAppGpsDigitizing: public QgsGpsLogger
std::unique_ptr< QFile > mLogFile;
QTextStream mLogFileTextStream;

QgsDistanceArea mDa;

friend class TestQgsGpsIntegration;
};

Expand Down

0 comments on commit 7c4cb30

Please sign in to comment.