diff options
author | Arnaud Ferraris <arnaud.ferraris@collabora.com> | 2019-05-08 19:26:57 +0200 |
---|---|---|
committer | Arnaud Ferraris <arnaud.ferraris@collabora.com> | 2019-05-08 19:31:41 +0200 |
commit | eb57be1be805d59015f6b28f5837b94442cc5d0f (patch) | |
tree | 298fc5f0e115648a35b15854f75456158aa09f27 | |
parent | 80fd3d33537579718ff0bd0b4a7583826c7db06b (diff) |
[partition] Remove deprecated sizeToSectors() function
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
-rw-r--r-- | src/modules/partition/core/PartUtils.h | 10 |
1 files changed, 0 insertions, 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 |