From 4889a0ef34daaaec6cec0ca87f8176a73abfa238 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Wed, 31 Aug 2016 20:37:32 +0100 Subject: [PATCH] Remove some TODO comments. --- src/core/lvmdevice.cpp | 2 -- src/plugins/libparted/libpartedbackend.cpp | 1 - 2 files changed, 3 deletions(-) diff --git a/src/core/lvmdevice.cpp b/src/core/lvmdevice.cpp index aea5c94..789478c 100644 --- a/src/core/lvmdevice.cpp +++ b/src/core/lvmdevice.cpp @@ -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; } diff --git a/src/plugins/libparted/libpartedbackend.cpp b/src/plugins/libparted/libpartedbackend.cpp index a29c30c..57470aa 100644 --- a/src/plugins/libparted/libpartedbackend.cpp +++ b/src/plugins/libparted/libpartedbackend.cpp @@ -317,7 +317,6 @@ Device* LibPartedBackend::scanDevice(const QString& deviceNode) foreach(const Partition * part, partitions) PartitionAlignment::isAligned(*d, *part); - return d; }