diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-12-26 21:37:18 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-12-26 21:37:18 -0800 |
commit | 0962b504ce546dfa8b71cc91a2931fcae83275d5 (patch) | |
tree | 11e0f95642f1ae63991d72fa0d8f50a10513b81a /qt-models/divelistmodel.h | |
parent | dc0be271bd0d4f9823eb5212287f1a74cbecc2f7 (diff) | |
download | subsurface-0962b504ce546dfa8b71cc91a2931fcae83275d5.tar.gz |
QML UI: get add dive closer to being useful
Now we at least start out with the corret date, time and number. This still
isn't functional as a lot of the data aren't used and the way you save the data
is completely silly, but it's another step in the right direction.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models/divelistmodel.h')
-rw-r--r-- | qt-models/divelistmodel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-models/divelistmodel.h b/qt-models/divelistmodel.h index b75a0f182..f050faab3 100644 --- a/qt-models/divelistmodel.h +++ b/qt-models/divelistmodel.h @@ -41,7 +41,7 @@ public: int rowCount(const QModelIndex &parent = QModelIndex()) const; QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const; QHash<int, QByteArray> roleNames() const; - void startAddDive(); + QString startAddDive(); private: QList<Dive> m_dives; static DiveListModel *m_instance; |