summaryrefslogtreecommitdiffstats
path: root/smglobals.cpp
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2011-01-16 15:04:41 +0100
committerArno <am@disconnect.de>2011-01-16 15:04:41 +0100
commitafd74157ef705fa2b0323727b3a37e2806bb0730 (patch)
treecb4ed7f5ea467cc9293bca428ff42e5f596a2e96 /smglobals.cpp
parentf4a2553aa56939721bcd82d8ad9bffbaecd0647a (diff)
downloadSheMov-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.cpp4
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);
}