revert commit 898001: This is not the correct fix and introduces other bugs.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=907527
This commit is contained in:
parent
6c4d8711d4
commit
edb74962fe
|
@ -538,11 +538,6 @@ void PartitionTable::insertUnallocated(const Device& d, PartitionNode* p, qint64
|
|||
*/
|
||||
void PartitionTable::updateUnallocated(const Device& d)
|
||||
{
|
||||
// if the partition table has no children it is invalid so don't do
|
||||
// anything here.
|
||||
if (children().size() == 0)
|
||||
return;
|
||||
|
||||
removeUnallocated();
|
||||
insertUnallocated(d, this, d.sectorsPerTrack());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue