Drop now unused IsNewPartitionRole
This commit is contained in:
parent
9216982859
commit
7c1ecabd68
@ -112,8 +112,6 @@ PartitionModel::data( const QModelIndex& index, int role ) const
|
||||
cDebug() << "Unknown column" << col;
|
||||
return QVariant();
|
||||
}
|
||||
case IsNewPartitionRole:
|
||||
return PMUtils::isPartitionNew( partition );
|
||||
default:
|
||||
return QVariant();
|
||||
}
|
||||
|
@ -47,11 +47,6 @@ public:
|
||||
LastColumn = SizeColumn + 1
|
||||
};
|
||||
|
||||
enum
|
||||
{
|
||||
IsNewPartitionRole = Qt::UserRole
|
||||
};
|
||||
|
||||
PartitionModel( QObject* parent = 0 );
|
||||
/**
|
||||
* device and infoForPartitions must remain alive for the life of
|
||||
|
Loading…
Reference in New Issue
Block a user