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>
This commit is contained in:
Dirk Hohndel 2015-01-08 11:39:34 -08:00
parent d16bff13bb
commit e6b5a00e35
2 changed files with 12 additions and 0 deletions

View file

@ -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;