diff --git a/gui/gmapdlg.h b/gui/gmapdlg.h index 288095976..d24586838 100644 --- a/gui/gmapdlg.h +++ b/gui/gmapdlg.h @@ -44,7 +44,7 @@ class GMapDialog: public QDialog GMapDialog(QWidget* parent, const Gpx& mapData, QPlainTextEdit* te); private: - static constexpr bool debug_ = true; + static constexpr bool debug_ = false; Ui_GMapDlg ui_; Map* mapWidget_; diff --git a/gui/gpx.h b/gui/gpx.h index e0e5f6e89..57eacee1a 100644 --- a/gui/gpx.h +++ b/gui/gpx.h @@ -345,32 +345,17 @@ class Gpx public: QString read(const QString& fileName); - QList & getWaypoints() - { - return wayPoints; - } // nonconst - - QList & getTracks() - { - return tracks; - } - - QList & getRoutes() - { - return routes; - } - - const QList & getWaypoints() const + const QList& getWaypoints() const { return wayPoints; } - const QList & getTracks() const + const QList& getTracks() const { return tracks; } - const QList & getRoutes() const + const QList& getRoutes() const { return routes; }