From eb57be1be805d59015f6b28f5837b94442cc5d0f Mon Sep 17 00:00:00 2001 From: Arnaud Ferraris Date: Wed, 8 May 2019 19:26:57 +0200 Subject: [partition] Remove deprecated sizeToSectors() function Signed-off-by: Arnaud Ferraris --- src/modules/partition/core/PartUtils.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/modules/partition/core/PartUtils.h b/src/modules/partition/core/PartUtils.h index 71d786963..1b4ee0b71 100644 --- a/src/modules/partition/core/PartUtils.h +++ b/src/modules/partition/core/PartUtils.h @@ -99,16 +99,6 @@ bool isEfiBootable( const Partition* candidate ); */ QString findFS( QString fsName, FileSystem::Type* fsType ); -/** - * @brief Convert a partition size to a sectors count. - * @param size the partition size. - * @param unit the partition size unit. - * @param totalSectors the total number of sectors of the selected drive. - * @param logicalSize the sector size, in bytes. - * @return the number of sectors to be used for the given partition size. - */ -qint64 sizeToSectors( double size, SizeUnit unit, qint64 totalSectors, qint64 logicalSize ); - } #endif // PARTUTILS_H -- cgit v1.2.2