Add PartitionPathRole to PartitionModel.

This commit is contained in:
Teo Mrnjavac 2015-12-17 16:13:42 +01:00
parent 2258c806ae
commit 5655b4f1da
2 changed files with 4 additions and 0 deletions

View file

@ -176,6 +176,9 @@ PartitionModel::data( const QModelIndex& index, int role ) const
case FileSystemTypeRole:
return partition->fileSystem().type();
case PartitionPathRole:
return partition->devicePath();
case PartitionPtrRole:
return qVariantFromValue( (void*)partition );