From 15f418e04656e01bc55ebbd80686c74b9727339d Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sat, 31 Aug 2019 23:55:53 +0200 Subject: 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 --- qt-models/maplocationmodel.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'qt-models/maplocationmodel.cpp') 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); -- cgit v1.2.3-70-g09d2