summaryrefslogtreecommitdiffstats
path: root/seriestreemodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'seriestreemodel.h')
-rw-r--r--seriestreemodel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/seriestreemodel.h b/seriestreemodel.h
index 7933310..a0c5a23 100644
--- a/seriestreemodel.h
+++ b/seriestreemodel.h
@@ -24,6 +24,9 @@ class SeriesTreeModel : public SmTreeModel {
explicit SeriesTreeModel(QStringList &headers, QObject *parent = 0);
~SeriesTreeModel();
+ //numColumns
+ int numColumns() const { return 5; }
+
//data + flags
Qt::ItemFlags flags(const QModelIndex &index) const;
QVariant data(const QModelIndex &index, int role) const;