diff options
Diffstat (limited to 'qt-models/divelistmodel.h')
-rw-r--r-- | qt-models/divelistmodel.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/qt-models/divelistmodel.h b/qt-models/divelistmodel.h index c355aceaf..d6eb07463 100644 --- a/qt-models/divelistmodel.h +++ b/qt-models/divelistmodel.h @@ -14,9 +14,8 @@ public: DiveListSortModel(QObject *parent = 0); void setSourceModel(QAbstractItemModel *sourceModel); Q_INVOKABLE void reload(); - Q_INVOKABLE QVariant tripIdToObject(const QString &s); - Q_INVOKABLE QString tripTitle(const QVariant &trip); - Q_INVOKABLE QString tripShortDate(const QVariant &trip); + Q_INVOKABLE QString tripTitle(const QString &trip); + Q_INVOKABLE QString tripShortDate(const QString &trip); public slots: int getIdxForId(int id); void setFilter(QString f); |