rename sector size labels in DevicePropsWidget (and its UI file) to logical
sector size svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135518
This commit is contained in:
parent
c281271807
commit
7bde47b854
|
@ -105,7 +105,7 @@ void DevicePropsDialog::setupDialog()
|
|||
|
||||
dialogWidget().cylinderSize().setText(i18ncp("@label", "1 Sector", "%1 Sectors", device().cylinderSize()));
|
||||
dialogWidget().primariesMax().setText(maxPrimaries);
|
||||
dialogWidget().sectorSize().setText(Capacity(device().logicalSectorSize()).toString(Capacity::Byte, Capacity::AppendUnit));
|
||||
dialogWidget().logicalSectorSize().setText(Capacity(device().logicalSectorSize()).toString(Capacity::Byte, Capacity::AppendUnit));
|
||||
dialogWidget().totalSectors().setText(KGlobal::locale()->formatNumber(device().totalSectors(), 0));
|
||||
dialogWidget().type().setText(type);
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ class DevicePropsWidget : public QWidget, public Ui::DevicePropsWidgetBase
|
|||
QLabel& capacity() { Q_ASSERT(m_LabelCapacity); return *m_LabelCapacity; }
|
||||
QLabel& cylinderSize() { Q_ASSERT(m_LabelCylinderSize); return *m_LabelCylinderSize; }
|
||||
QLabel& primariesMax() { Q_ASSERT(m_LabelPrimariesMax); return *m_LabelPrimariesMax; }
|
||||
QLabel& sectorSize() { Q_ASSERT(m_LabelSectorSize); return *m_LabelSectorSize; }
|
||||
QLabel& logicalSectorSize() { Q_ASSERT(m_LabelLogicalSectorSize); return *m_LabelLogicalSectorSize; }
|
||||
QLabel& totalSectors() { Q_ASSERT(m_LabelTotalSectors); return *m_LabelTotalSectors; }
|
||||
QLabel& type() { Q_ASSERT(m_LabelType); return *m_LabelType; }
|
||||
|
||||
|
|
|
@ -178,7 +178,7 @@
|
|||
</widget>
|
||||
</item>
|
||||
<item row="9" column="0">
|
||||
<widget class="QLabel" name="m_LabelTextSectorSize">
|
||||
<widget class="QLabel" name="m_LabelTextLogicalSectorSize">
|
||||
<property name="text">
|
||||
<string>Logical sector size:</string>
|
||||
</property>
|
||||
|
@ -188,7 +188,7 @@
|
|||
</widget>
|
||||
</item>
|
||||
<item row="9" column="1">
|
||||
<widget class="QLabel" name="m_LabelSectorSize">
|
||||
<widget class="QLabel" name="m_LabelLogicalSectorSize">
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
|
|
Loading…
Reference in New Issue