From kde-commits Sat Oct 30 11:49:44 2004 From: Chris Howells Date: Sat, 30 Oct 2004 11:49:44 +0000 To: kde-commits Subject: kdenonbeta/kbatterymonitor/linux-acpi Message-Id: <20041030114944.A1E2D16C5A () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=109914538828380 CVS commit by howells: compile M +1 -1 linux_acpi.cpp 1.4 M +1 -1 linux_acpi.h 1.4 --- kdenonbeta/kbatterymonitor/linux-acpi/linux_acpi.cpp #1.3:1.4 @@ -211,5 +211,5 @@ long LinuxACPI::batteryTime() else { - return (mPresentRate - mRemainingCapcity) / ((mPresentRate) * 60); + return (mPresentRate - mRemainingCapacity) / ((mPresentRate) * 60); } } --- kdenonbeta/kbatterymonitor/linux-acpi/linux_acpi.h #1.3:1.4 @@ -60,5 +60,5 @@ class LinuxACPI : public Monitor /** Returns the time reamining on the battery in percent */ - long batteryPercent + long batteryPercent(); QString mAdaptorFile; QString mBatteryFile;