API Changes, logicalSectorSize -> logicalSize, totalSectors -> totalLogical.

This commit is contained in:
Chantara Tith 2016-08-31 10:30:45 +07:00 committed by Teo Mrnjavac
parent b76e5a027f
commit aa10fe982a
6 changed files with 15 additions and 15 deletions

View file

@ -590,7 +590,7 @@ ChoicePage::doAlongsideApply()
qint64 oldLastSector = candidate->lastSector();
qint64 newLastSector = firstSector +
m_afterPartitionSplitterWidget->splitPartitionSize() /
dev->logicalSectorSize();
dev->logicalSize();
m_core->resizePartition( dev, candidate, firstSector, newLastSector );
Partition* newPartition = nullptr;