diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-01-08 11:00:42 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-08 07:43:38 -0800 |
commit | f8af0239ce4d5549305f72b3668d94834f0074ca (patch) | |
tree | a04ab30158a97d218f2facdda6c96d4041d6a10b /qt-ui/downloadfromdivecomputer.h | |
parent | 797bf49129769842b5ca872e5efe40b4a575d1d5 (diff) | |
download | subsurface-f8af0239ce4d5549305f72b3668d94834f0074ca.tar.gz |
Dive d/l selection UI: Set the item flags
Now the user can click on the dives that they want to keep.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/downloadfromdivecomputer.h')
-rw-r--r-- | qt-ui/downloadfromdivecomputer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/downloadfromdivecomputer.h b/qt-ui/downloadfromdivecomputer.h index 028f7dda2..8ab7e3651 100644 --- a/qt-ui/downloadfromdivecomputer.h +++ b/qt-ui/downloadfromdivecomputer.h @@ -35,6 +35,7 @@ public: QVariant data(const QModelIndex& index, int role) const; bool setData(const QModelIndex &index, const QVariant &value, int role); void setImportedDivesIndexes(int first, int last); + Qt::ItemFlags flags(const QModelIndex &index) const; private: int firstIndex; int lastIndex; |