From 175d243e0c0021e9f303474aa3088045a516a62c Mon Sep 17 00:00:00 2001 From: Arno Date: Wed, 10 Dec 2014 07:26:27 +0100 Subject: Weed out SeriesMetadataModel Delete last remnants of this class (includes and files). It's not needed any more. --- smglobals.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'smglobals.cpp') diff --git a/smglobals.cpp b/smglobals.cpp index 624effc..5c56855 100644 --- a/smglobals.cpp +++ b/smglobals.cpp @@ -23,7 +23,6 @@ #include "smglobals.h" #include "archivemodel.h" #include "mappingtablemodel.h" -#include "seriesmetadatamodel.h" #include "mappingtreemodel.h" #include "pictureviewer2.h" #include "picfilesmodel.h" @@ -74,12 +73,6 @@ QAbstractItemModel *SmGlobals::model(const QString &which){ MappingTableModel *model = new MappingTableModel(headers, "genres"); mModels.insert(which, model); } - }else if(which == "SeriesMetadata"){ - if(!mModels.contains(which)){ - QStringList headers = QStringList() << tr("SeriesPartId") << tr("Release Year") << tr("Source Medium") << tr("Subject") << tr("Release Group") << tr("Encoder Options") << tr("Comment") << tr("Encoding Passes") << tr("Added"); - SeriesMetadataModel *model = new SeriesMetadataModel(headers); - mModels.insert(which, model); - } }else if(which == "MappingTree"){ if(!mModels.contains("MappingTree")){ QStringList headers = QStringList() << tr("Name") << tr("Id") << tr("Date") << tr("Parent") << tr("PPID"); -- cgit v1.2.3-70-g09d2