summaryrefslogtreecommitdiffstats
path: root/qt-ui/downloadfromdivecomputer.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-08 11:39:34 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-08 11:39:34 -0800
commite6b5a00e3516b1c6e9f5fa638b984f3cf47659ba (patch)
tree3f26b9bebcee5cb8b663d7093cecb7997033a427 /qt-ui/downloadfromdivecomputer.h
parentd16bff13bb076e344342f9dbd0f1974e0164c7cf (diff)
downloadsubsurface-e6b5a00e3516b1c6e9f5fa638b984f3cf47659ba.tar.gz
Dive d/l selection UI: allow clicking anywhere in a row
It seemed silly to only be allowed to click the tiny checkbox. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/downloadfromdivecomputer.h')
-rw-r--r--qt-ui/downloadfromdivecomputer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-ui/downloadfromdivecomputer.h b/qt-ui/downloadfromdivecomputer.h
index 80b184304..81a32f206 100644
--- a/qt-ui/downloadfromdivecomputer.h
+++ b/qt-ui/downloadfromdivecomputer.h
@@ -38,6 +38,11 @@ public:
void setImportedDivesIndexes(int first, int last);
Qt::ItemFlags flags(const QModelIndex &index) const;
void removeUnused();
+
+public
+slots:
+ void changeSelected(QModelIndex index);
+
private:
int firstIndex;
int lastIndex;