From ebf2c049b7b97c07807c1c324d55ff467c4a3eac Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 15 Apr 2012 16:28:39 -0500 Subject: Fix minor glitch in battery status dialog --- kcontrol/hwmanager/devicepropsdlg.cpp | 2 +- kcontrol/hwmanager/devicepropsdlgbase.ui | 2 +- kcontrol/hwmanager/hwmanagerbase.ui | 17 ----------------- 3 files changed, 2 insertions(+), 19 deletions(-) diff --git a/kcontrol/hwmanager/devicepropsdlg.cpp b/kcontrol/hwmanager/devicepropsdlg.cpp index 459d72662..784c49b69 100644 --- a/kcontrol/hwmanager/devicepropsdlg.cpp +++ b/kcontrol/hwmanager/devicepropsdlg.cpp @@ -502,7 +502,7 @@ void DevicePropertiesDialog::populateDeviceInformation() { base->labelMaximumBatteryDesignEnergy->setText((bdevice->maximumDesignEnergy()<0)?i18n(""):TQString("%1 Wh").arg(bdevice->maximumDesignEnergy())); base->labelMinimumBatteryVoltage->setText((bdevice->minimumVoltage()<0)?i18n(""):TQString("%1 V").arg(bdevice->minimumVoltage())); base->labelCurrentBatteryVoltage->setText((bdevice->voltage()<0)?i18n(""):TQString("%1 V").arg(bdevice->voltage())); - base->labelCurrentBatteryDischargeRate->setText((bdevice->dischargeRate()<0)?i18n(""):TQString("%1 Vh").arg(bdevice->dischargeRate())); + base->labelCurrentBatteryDischargeRate->setText((bdevice->dischargeRate()<0)?i18n(""):TQString("%1 Wh").arg(bdevice->dischargeRate())); TQString batteryStatusString = i18n("Unknown"); TDEBatteryStatus::TDEBatteryStatus batteryStatus = bdevice->status(); if (batteryStatus == TDEBatteryStatus::Charging) { diff --git a/kcontrol/hwmanager/devicepropsdlgbase.ui b/kcontrol/hwmanager/devicepropsdlgbase.ui index ff5af2031..dc328d643 100644 --- a/kcontrol/hwmanager/devicepropsdlgbase.ui +++ b/kcontrol/hwmanager/devicepropsdlgbase.ui @@ -602,7 +602,7 @@ unnamed - Current Discharge Rate + Current Charge / Discharge Rate diff --git a/kcontrol/hwmanager/hwmanagerbase.ui b/kcontrol/hwmanager/hwmanagerbase.ui index 689cb4e55..4b14ff428 100644 --- a/kcontrol/hwmanager/hwmanagerbase.ui +++ b/kcontrol/hwmanager/hwmanagerbase.ui @@ -73,23 +73,6 @@ - - - Spacer4 - - - Vertical - - - Expanding - - - - 20 - 20 - - - -- cgit v1.2.1