From cee9b36534e3255aa65cf8607e81338406af81a2 Mon Sep 17 00:00:00 2001 From: Arno Date: Thu, 10 Jul 2014 02:45:31 +0200 Subject: Sort Movie archive list appropriately Don't just sort alphabetically. Also regard the Series No. by extracting it via a RegExp. --- archiveview.h | 1 + 1 file changed, 1 insertion(+) (limited to 'archiveview.h') 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; -- cgit v1.2.3-70-g09d2