summaryrefslogtreecommitdiffstats
path: root/smtreemodel.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2011-05-22 05:54:07 +0200
committerArno <am@disconnect.de>2011-05-22 05:54:07 +0200
commit47d30d5f4838a1980545c36308858efc7d5bde0d (patch)
treeb1137fa0db924409df7eda40f8ed08e5fa30ae1e /smtreemodel.h
parent9b2f7da813faea42587c0a78435a41aa338471fe (diff)
downloadSheMov-47d30d5f4838a1980545c36308858efc7d5bde0d.tar.gz
SheMov-47d30d5f4838a1980545c36308858efc7d5bde0d.tar.bz2
SheMov-47d30d5f4838a1980545c36308858efc7d5bde0d.zip
Update IsLocal when setting DVD no.
The field IsLocal in the SeriesTreeModel is now properly updated when the DVD no. changes. It still doesn't propagate to the file view, though.
Diffstat (limited to 'smtreemodel.h')
-rw-r--r--smtreemodel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/smtreemodel.h b/smtreemodel.h
index f23e767..e097d60 100644
--- a/smtreemodel.h
+++ b/smtreemodel.h
@@ -37,6 +37,7 @@ class SmTreeModel : public QAbstractItemModel {
virtual QVariant data(const QModelIndex &index, int role) const;
virtual bool setData(const QModelIndex &index, const QVariant &value, int role);
virtual QModelIndex find(const QVariant &value, int column = 0, const QModelIndex &parent = QModelIndex()) const;
+ virtual QModelIndex findRecursive(const QVariant &value, int column = 0, const QModelIndex &parent = QModelIndex()) const;
// root + parent item
bool setRoot(SmTreeItem *rootItem);