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;
|
cDebug() << "Unknown column" << col;
|
||||||
return QVariant();
|
return QVariant();
|
||||||
}
|
}
|
||||||
case IsNewPartitionRole:
|
|
||||||
return PMUtils::isPartitionNew( partition );
|
|
||||||
default:
|
default:
|
||||||
return QVariant();
|
return QVariant();
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user