added sublists support to ReadingListsModel

This commit is contained in:
Luis Ángel San Martín
2014-10-31 12:23:43 +01:00
parent 73060fe064
commit 9250f02474
6 changed files with 52 additions and 25 deletions

View File

@ -230,7 +230,7 @@ QModelIndex FolderModel::parent(const QModelIndex &index) const
if (parentItem == rootItem)
return QModelIndex();
return createIndex(parentItem->row(), 0, parentItem);
return createIndex(parentItem->row(), 0, parentItem);
}
//! [7]