Drop now unused IsNewPartitionRole

This commit is contained in:
Aurélien Gâteau 2014-07-16 10:02:53 +02:00
parent 9216982859
commit 7c1ecabd68
2 changed files with 0 additions and 7 deletions

View File

@ -112,8 +112,6 @@ PartitionModel::data( const QModelIndex& index, int role ) const
cDebug() << "Unknown column" << col; cDebug() << "Unknown column" << col;
return QVariant(); return QVariant();
} }
case IsNewPartitionRole:
return PMUtils::isPartitionNew( partition );
default: default:
return QVariant(); return QVariant();
} }

View File

@ -47,11 +47,6 @@ public:
LastColumn = SizeColumn + 1 LastColumn = SizeColumn + 1
}; };
enum
{
IsNewPartitionRole = Qt::UserRole
};
PartitionModel( QObject* parent = 0 ); PartitionModel( QObject* parent = 0 );
/** /**
* device and infoForPartitions must remain alive for the life of * device and infoForPartitions must remain alive for the life of