fixed contextual folders actions

This commit is contained in:
Luis Ángel San Martín
2014-11-20 23:38:27 +01:00
parent 397761451a
commit 2af75b35ca
4 changed files with 17 additions and 10 deletions

View File

@ -169,6 +169,9 @@ QVariant FolderModel::data(const QModelIndex &index, int role) const
if(role == FolderModel::CompletedRole)
return item->data(FolderModel::Completed);
if(role == FolderModel::FinishedRole)
return item->data(FolderModel::Finished);
if (role != Qt::DisplayRole)
return QVariant();