diff options
author | Arno <am@disconnect.de> | 2010-08-13 16:47:16 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2010-08-13 16:47:16 +0200 |
commit | a8fc46f186911ba4ab79231f24e6e4f940eb7cde (patch) | |
tree | 750fb6f4a54ec522d6de06df62fd86edc7b18989 /smglobals.cpp | |
parent | 91cf2978ba97bc8ebda2da9df01d3dde22b99f14 (diff) | |
download | SheMov-a8fc46f186911ba4ab79231f24e6e4f940eb7cde.tar.gz SheMov-a8fc46f186911ba4ab79231f24e6e4f940eb7cde.tar.bz2 SheMov-a8fc46f186911ba4ab79231f24e6e4f940eb7cde.zip |
Fixed sorting of Display name
Fixed sorting of DisplayName column in FilesTreeModel. Now it's sorted
by SeriesName and SeriesPart separately instead of taking the whole
DisplayName as a string.
Diffstat (limited to 'smglobals.cpp')
-rw-r--r-- | smglobals.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/smglobals.cpp b/smglobals.cpp index 8c572f1..e70da89 100644 --- a/smglobals.cpp +++ b/smglobals.cpp @@ -53,7 +53,7 @@ QAbstractItemModel *SmGlobals::model(const QString &which){ } }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") << tr("Type") << tr("Md5 sum") << tr("Series part ID") << tr("File ID") << tr("Seriespart") << tr("Display name") << tr("Dur./Size"); + QStringList headers = QStringList() << tr("Name") << tr("Part") << tr("Size") << tr("Qual.") << tr("Dvd") << tr("Full Path") << tr("Size") << tr("Type") << tr("Md5 sum") << tr("Series part ID") << tr("File ID") << tr("Seriespart") << tr("Display name") << tr("Dur./Size") << tr("Series name"); FilesTreeModel *model = new FilesTreeModel(headers); mModels.insert(which, model); } |