summaryrefslogtreecommitdiffstats
path: root/archiveview.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2014-07-10 02:45:31 +0200
committerArno <am@disconnect.de>2014-07-10 02:45:31 +0200
commitcee9b36534e3255aa65cf8607e81338406af81a2 (patch)
tree4823455946f7759d64e4bef1ce2f77ad3904f45a /archiveview.h
parent94ef66d78be46993c7d17ea62aef78cb6e7b1535 (diff)
downloadSheMov-cee9b36534e3255aa65cf8607e81338406af81a2.tar.gz
SheMov-cee9b36534e3255aa65cf8607e81338406af81a2.tar.bz2
SheMov-cee9b36534e3255aa65cf8607e81338406af81a2.zip
Sort Movie archive list appropriately
Don't just sort alphabetically. Also regard the Series No. by extracting it via a RegExp.
Diffstat (limited to 'archiveview.h')
-rw-r--r--archiveview.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/archiveview.h b/archiveview.h
index a900ec2..e6f741d 100644
--- a/archiveview.h
+++ b/archiveview.h
@@ -136,6 +136,7 @@ class ArchiveProxy : public QSortFilterProxyModel {
protected:
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const;
+ virtual bool lessThan(const QModelIndex &left, const QModelIndex &right) const;
private:
QRegExp mFilter;