diff options
Diffstat (limited to 'qt-models/divelocationmodel.h')
-rw-r--r-- | qt-models/divelocationmodel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-models/divelocationmodel.h b/qt-models/divelocationmodel.h index 623296de2..57471dee6 100644 --- a/qt-models/divelocationmodel.h +++ b/qt-models/divelocationmodel.h @@ -49,7 +49,7 @@ private: bool setData(const QModelIndex &index, const QVariant &value, int role) override; #endif // SUBSURFACE_MOBILE public: - DiveSiteSortedModel(); + DiveSiteSortedModel(QObject *parent = nullptr); QStringList allSiteNames() const; void setFilter(const QString &text); struct dive_site *getDiveSite(const QModelIndex &idx); |