summaryrefslogtreecommitdiffstats
path: root/seriestreemodel.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 /seriestreemodel.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 'seriestreemodel.h')
-rw-r--r--seriestreemodel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/seriestreemodel.h b/seriestreemodel.h
index aa40ce3..005e2c7 100644
--- a/seriestreemodel.h
+++ b/seriestreemodel.h
@@ -60,6 +60,7 @@ class SeriesTreeModel : public SmTreeModel {
signals:
void needResort();
void consistencyMsg(const QString &msg);
+ void localsChanged();
public slots:
void readSettings();
@@ -71,8 +72,7 @@ class SeriesTreeModel : public SmTreeModel {
bool renameSeries(const QModelIndex &source, const QVariant &value);
bool setNewSeries(const QModelIndex &source, const QVariant &value);
bool updateGeneric(const QModelIndex &source, const QVariant &value);
- //bool setFavorite(const QModelIndex &source, const QVariant &value);
- //bool setSubtitle(const QModelIndex &source, const QVariant &value);
+ bool setLocal(const QModelIndex &source, const QVariant &value);
QString archivePath(const QString &fileName, const QString &md5sum) const;
QSqlDatabase mDb;
QSqlQuery *mSeriesPartsQuery;