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:
Volker Lanz 2009-01-08 10:47:32 +00:00
parent 6c4d8711d4
commit edb74962fe
1 changed files with 0 additions and 5 deletions

View File

@ -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());
}