diff options
author | Arno <am@disconnect.de> | 2011-01-16 15:04:41 +0100 |
---|---|---|
committer | Arno <am@disconnect.de> | 2011-01-16 15:04:41 +0100 |
commit | afd74157ef705fa2b0323727b3a37e2806bb0730 (patch) | |
tree | cb4ed7f5ea467cc9293bca428ff42e5f596a2e96 /smglobals.cpp | |
parent | f4a2553aa56939721bcd82d8ad9bffbaecd0647a (diff) | |
download | SheMov-afd74157ef705fa2b0323727b3a37e2806bb0730.tar.gz SheMov-afd74157ef705fa2b0323727b3a37e2806bb0730.tar.bz2 SheMov-afd74157ef705fa2b0323727b3a37e2806bb0730.zip |
Implement favorites
SeriesParts can be marked as favorites. They won't be selectable when
filtering by local Movies only.
Diffstat (limited to 'smglobals.cpp')
-rw-r--r-- | smglobals.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/smglobals.cpp b/smglobals.cpp index c21cea4..3084bd6 100644 --- a/smglobals.cpp +++ b/smglobals.cpp @@ -57,13 +57,13 @@ SmGlobals *SmGlobals::instance(){ QAbstractItemModel *SmGlobals::model(const QString &which){ if(which == "SeriesModel"){ if(!mModels.contains(which)){ - QStringList headers = QStringList() << tr("Series") << tr("Series ID") << tr("Series part ID") << tr("Part") << tr("Type"); + QStringList headers = QStringList() << tr("Series") << tr("Series ID") << tr("Series part ID") << tr("Part") << tr("Type") << tr("Favorite"); SeriesTreeModel *model = new SeriesTreeModel(headers); mModels.insert(which, model); } }else if(which == "FilesModel"){ if(!mModels.contains(which)){ - QStringList headers = QStringList() << tr("Name") << tr("Part") << tr("Size") << tr("Qual.") << tr("Dvd") << tr("Full Path") << tr("Size (int)") << tr("Type") << tr("Md5 sum") << tr("Series part ID") << tr("File ID") << tr("Seriespart") << tr("Display name") << tr("Dur./Size") << tr("Series name"); + QStringList headers = QStringList() << tr("Name") << tr("Part") << tr("Size") << tr("Qual.") << tr("Dvd") << tr("Full Path") << tr("Size (int)") << tr("Type") << tr("Md5 sum") << tr("Series part ID") << tr("File ID") << tr("Seriespart") << tr("Display name") << tr("Dur./Size") << tr("Series name") << tr("Favorite"); FilesTreeModel *model = new FilesTreeModel(headers); mModels.insert(which, model); } |