diff options
Diffstat (limited to 'smmodelsingleton.cpp')
-rw-r--r-- | smmodelsingleton.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/smmodelsingleton.cpp b/smmodelsingleton.cpp index 2ee5623..7425aeb 100644 --- a/smmodelsingleton.cpp +++ b/smmodelsingleton.cpp @@ -51,13 +51,13 @@ QAbstractItemModel *SmModelSingleton::model(const QString &which){ FilesTreeModel *model = new FilesTreeModel(headers); mModels.insert(which, model); } - }else if(which == "ActorsModel"){ + }else if(which == "actors"){ if(!mModels.contains(which)){ QStringList headers = QStringList() << tr("Actor") << tr("Id"); MappingTableModel *model = new MappingTableModel(headers, "actors"); mModels.insert(which, model); } - }else if(which == "GenresModel"){ + }else if(which == "genres"){ if(!mModels.contains(which)){ QStringList headers = QStringList() << tr("Genre") << tr("Id"); MappingTableModel *model = new MappingTableModel(headers, "genres"); |