diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-08-31 23:55:53 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-09-06 11:48:47 -0700 |
commit | 15f418e04656e01bc55ebbd80686c74b9727339d (patch) | |
tree | 3818e90baa133e064b0d98fbfc4870fd48769cff /qt-models/maplocationmodel.cpp | |
parent | 406e83ac3004dc0f63b3f2e81d91067276248277 (diff) | |
download | subsurface-15f418e04656e01bc55ebbd80686c74b9727339d.tar.gz |
Cleanup: remove Q_PROPERTIEs from MapLocation
We never dish out an object of this type to QML. It is unclear how
Q_PROPERTIEs could be of any use.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/maplocationmodel.cpp')
-rw-r--r-- | qt-models/maplocationmodel.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/qt-models/maplocationmodel.cpp b/qt-models/maplocationmodel.cpp index 922b29ac0..4e513398b 100644 --- a/qt-models/maplocationmodel.cpp +++ b/qt-models/maplocationmodel.cpp @@ -76,11 +76,6 @@ struct dive_site *MapLocation::divesite() return m_ds; } -QVariant MapLocation::divesiteVariant() -{ - return QVariant::fromValue(m_ds); -} - MapLocationModel::MapLocationModel(QObject *parent) : QAbstractListModel(parent) { connect(&diveListNotifier, &DiveListNotifier::diveSiteChanged, this, &MapLocationModel::diveSiteChanged); |