diff options
author | Arno <am@disconnect.de> | 2015-03-21 09:15:16 +0100 |
---|---|---|
committer | Arno <am@disconnect.de> | 2015-03-21 09:15:16 +0100 |
commit | 9544f4d790695e707e7e8b9cb44f9cb0fed0dbcb (patch) | |
tree | bf6af4d83c91f5a2594a3777fb31f620e6a852d2 /archivemodel.h | |
parent | e6b7e5e0fccef756398982bd51137bb433df7f4a (diff) | |
download | SheMov-9544f4d790695e707e7e8b9cb44f9cb0fed0dbcb.tar.gz SheMov-9544f4d790695e707e7e8b9cb44f9cb0fed0dbcb.tar.bz2 SheMov-9544f4d790695e707e7e8b9cb44f9cb0fed0dbcb.zip |
Delete emtpy series
Enable the delete option in ArchiveTree, but only allow delete when it
has no children.
Diffstat (limited to 'archivemodel.h')
-rw-r--r-- | archivemodel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/archivemodel.h b/archivemodel.h index 27cd8cf..6e02855 100644 --- a/archivemodel.h +++ b/archivemodel.h @@ -54,6 +54,7 @@ class ArchiveModel : public SmTreeModel { void addFiles(int partId, const QStringList files); void removeFiles(const QList<int> fileIds); bool deleteSeriesPart(int partId); + bool deleteSeries(int seriesId); bool addSeriesPart(int partno, QString subtitle, const QModelIndex &parent); int seriesPartIdFromMd5(const QString &md5); |