compare partition's device path with device's, not partition table pointers
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129867
This commit is contained in:
parent
f123525c22
commit
5327ca792a
|
@ -47,7 +47,7 @@ SetFileSystemLabelOperation::SetFileSystemLabelOperation(Partition& p, const QSt
|
|||
|
||||
bool SetFileSystemLabelOperation::targets(const Device& d) const
|
||||
{
|
||||
return labeledPartition().parent() == d.partitionTable();
|
||||
return labeledPartition().devicePath() == d.deviceNode();
|
||||
}
|
||||
|
||||
bool SetFileSystemLabelOperation::targets(const Partition& p) const
|
||||
|
|
Loading…
Reference in New Issue