From ecec8daddac47b13fb136f2bf82efe389fc12a5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Tue, 7 Nov 2017 00:51:59 +0000 Subject: [PATCH] Do not display cylinder/head/sector information. CHS has never been important for Linux. --- src/gui/infopane.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gui/infopane.cpp b/src/gui/infopane.cpp index 4f34314..f3336e6 100644 --- a/src/gui/infopane.cpp +++ b/src/gui/infopane.cpp @@ -182,12 +182,8 @@ void InfoPane::showDevice(Qt::DockWidgetArea area, const Device& d) createLabels(i18nc("@label device", "Type:"), type, cols(area), x, y); createLabels(i18nc("@label device", "Capacity:"), Capacity::formatByteSize(disk.capacity()), cols(area), x, y); createLabels(i18nc("@label device", "Total sectors:"), QLocale().toString(disk.totalSectors()), cols(area), x, y); - createLabels(i18nc("@label device", "Heads:"), QString::number(disk.heads()), cols(area), x, y); - createLabels(i18nc("@label device", "Cylinders:"), QLocale().toString(disk.cylinders()), cols(area), x, y); - createLabels(i18nc("@label device", "Sectors:"), QLocale().toString(disk.sectorsPerTrack()), cols(area), x, y); createLabels(i18nc("@label device", "Logical sector size:"), Capacity::formatByteSize(disk.logicalSectorSize()), cols(area), x, y); createLabels(i18nc("@label device", "Physical sector size:"), Capacity::formatByteSize(disk.physicalSectorSize()), cols(area), x, y); - createLabels(i18nc("@label device", "Cylinder size:"), i18ncp("@label", "1 Sector", "%1 Sectors", disk.cylinderSize()), cols(area), x, y); createLabels(i18nc("@label device", "Primaries/Max:"), maxPrimaries, cols(area), x, y); } else if (d.type() == Device::LVM_Device) { const LvmDevice& lvm = dynamic_cast(d);