summaryrefslogtreecommitdiffstats
path: root/qt-models/maplocationmodel.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-09-01 00:05:15 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-09-06 11:48:47 -0700
commitfe07a47989fbcf4b95989d6d32e51da07a5cc211 (patch)
tree46c29f4dd43533c9b2259e59b682b457916e21a9 /qt-models/maplocationmodel.h
parent15f418e04656e01bc55ebbd80686c74b9727339d (diff)
downloadsubsurface-fe07a47989fbcf4b95989d6d32e51da07a5cc211.tar.gz
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 <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/maplocationmodel.h')
-rw-r--r--qt-models/maplocationmodel.h4
1 files changed, 0 insertions, 4 deletions
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