mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
406e83ac30
commit
15f418e046
2 changed files with 0 additions and 9 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue