Drop now unused IsNewPartitionRole

main
Aurélien Gâteau 11 years ago
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…
Cancel
Save