From fe07a47989fbcf4b95989d6d32e51da07a5cc211 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sun, 1 Sep 2019 00:05:15 +0200 Subject: Cleanup: remove MapLocation::coordinateChanged signal Nobody was listening for that signal. Remove it. This, quite obviously, makse the setCoordinateNoEmit() function redundant. Merge with setCoordinateNoEmit(). Signed-off-by: Berthold Stoeger --- qt-models/maplocationmodel.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'qt-models/maplocationmodel.h') diff --git a/qt-models/maplocationmodel.h b/qt-models/maplocationmodel.h index 4f56a146f..5fdddf0f2 100644 --- a/qt-models/maplocationmodel.h +++ b/qt-models/maplocationmodel.h @@ -21,7 +21,6 @@ public: QVariant getRole(int role) const; QGeoCoordinate coordinate(); void setCoordinate(QGeoCoordinate coord); - void setCoordinateNoEmit(QGeoCoordinate coord); struct dive_site *divesite(); enum Roles { @@ -39,9 +38,6 @@ private: QString m_name; public: bool m_selected = false; - -signals: - void coordinateChanged(); }; class MapLocationModel : public QAbstractListModel -- cgit v1.2.3-70-g09d2