diff options
author | Arno <am@disconnect.de> | 2013-06-01 09:42:15 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2013-06-01 09:42:15 +0200 |
commit | d43981754db00a2091e95a55cd6583bf1fbc724d (patch) | |
tree | 00535b6e13e3d2b4072cf7b767281ec3bc9e8f03 /archivemodel.h | |
parent | ac5f624734f712bce84f36cc47c0133a1382534f (diff) | |
download | SheMov-d43981754db00a2091e95a55cd6583bf1fbc724d.tar.gz SheMov-d43981754db00a2091e95a55cd6583bf1fbc724d.tar.bz2 SheMov-d43981754db00a2091e95a55cd6583bf1fbc724d.zip |
Fix various display issues of ArchiveModel
* Show childcount
* Show subtitle or part no
* Resize Widget properly
Diffstat (limited to 'archivemodel.h')
-rw-r--r-- | archivemodel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/archivemodel.h b/archivemodel.h index 8e71a46..f4af14e 100644 --- a/archivemodel.h +++ b/archivemodel.h @@ -23,6 +23,7 @@ class ArchiveModel : public SmTreeModel { enum NodeType { SeriesNode, SeriesPartNode, GenreNode, ActorNode }; explicit ArchiveModel(const QStringList &headers, QObject *parent = 0); const QStringList availableOrders() const; + virtual QVariant data(const QModelIndex &index, int role) const; signals: |