summaryrefslogtreecommitdiffstats
path: root/seriestreewidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'seriestreewidget.cpp')
-rw-r--r--seriestreewidget.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/seriestreewidget.cpp b/seriestreewidget.cpp
index a8e13d4..fdc9770 100644
--- a/seriestreewidget.cpp
+++ b/seriestreewidget.cpp
@@ -68,6 +68,10 @@ QModelIndexList SeriesTreeWidget::mapToSource(const QModelIndexList &indexes) co
return retval;
}
+QModelIndex SeriesTreeWidget::mapToSource(const QModelIndex &index) const{
+ return mProxy->mapToSource(index);
+}
+
void SeriesTreeWidget::newSeries(){
QList<QVariant> data;
data << tr("<New series>") << QVariant() << QVariant() << QVariant() << SeriesTreeModel::NewSeries;