mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Map: don't derive MapLocation from QObject
Map location is 1) A plain value type 2) Never passed to QML Make it a simple C++ class. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
4eaf6b20be
commit
0c374af176
2 changed files with 1 additions and 4 deletions
|
@ -10,10 +10,8 @@
|
|||
#include <QAbstractListModel>
|
||||
#include <QGeoCoordinate>
|
||||
|
||||
class MapLocation : public QObject
|
||||
class MapLocation
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit MapLocation();
|
||||
explicit MapLocation(struct dive_site *ds, QGeoCoordinate coord, QString name, bool selected);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue