From 47d30d5f4838a1980545c36308858efc7d5bde0d Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 22 May 2011 05:54:07 +0200 Subject: 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. --- seriestreemodel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'seriestreemodel.h') 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; -- cgit v1.2.3-70-g09d2