summaryrefslogtreecommitdiffstats
path: root/qt-ui/models.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-09-20 13:38:24 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-09-20 18:35:02 -0700
commita2f27517922f5422e62e57f6ce1279b7235ce2fc (patch)
treeb3944623125ae453e4a054958215b09a7b07dc44 /qt-ui/models.h
parentda90c86d61a235d2c56d522f09203694678608f1 (diff)
downloadsubsurface-a2f27517922f5422e62e57f6ce1279b7235ce2fc.tar.gz
Show everything when nothing is checked.
This patch fixes a bit of the logic used. Now we show every dive if nothing is chedked. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/models.h')
-rw-r--r--qt-ui/models.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/models.h b/qt-ui/models.h
index fc762b6ad..18c26df44 100644
--- a/qt-ui/models.h
+++ b/qt-ui/models.h
@@ -425,6 +425,7 @@ public:
virtual bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole);
virtual Qt::ItemFlags flags(const QModelIndex &index) const;
bool *checkState;
+ bool anyChecked;
public
slots:
void repopulate();