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>
This commit is contained in:
Berthold Stoeger 2019-09-01 00:05:15 +02:00 committed by Dirk Hohndel
parent 15f418e046
commit fe07a47989
2 changed files with 1 additions and 11 deletions

View file

@ -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