Remove some TODO comments.

This commit is contained in:
Andrius Štikonas 2016-08-31 20:37:32 +01:00
parent 56533022cb
commit 4889a0ef34
2 changed files with 0 additions and 3 deletions

View File

@ -167,7 +167,6 @@ Partition* LvmDevice::scanPartition(const QString& lvPath, PartitionTable* pTabl
if (mountPoint == QStringLiteral("none"))
mountPoint = QString();
//TODO: test used space report. probably incorrect
if (logicalSize() > 0) {
if (mounted && freeSpaceInfo.isValid() && mountPoint != QString()) {
fs->setSectorsUsed(freeSpaceInfo.used() / logicalSize());
@ -362,7 +361,6 @@ bool LvmDevice::removeLV(Report& report, LvmDevice& d, Partition& p)
p.partitionPath()});
if (cmd.run(-1) && cmd.exitCode() == 0) {
//TODO: remove Partition from PartitionTable and delete from memory ??
d.partitionTable()->remove(&p);
return true;
}

View File

@ -317,7 +317,6 @@ Device* LibPartedBackend::scanDevice(const QString& deviceNode)
foreach(const Partition * part, partitions)
PartitionAlignment::isAligned(*d, *part);
return d;
}