[partition] Remove deprecated sizeToSectors() function

Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
This commit is contained in:
Arnaud Ferraris 2019-05-08 19:26:57 +02:00
parent 80fd3d3353
commit eb57be1be8

View File

@ -99,16 +99,6 @@ bool isEfiBootable( const Partition* candidate );
*/ */
QString findFS( QString fsName, FileSystem::Type* fsType ); 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 #endif // PARTUTILS_H