From dd618abb56ba6dec2f4c76548d264d2a68660e0d Mon Sep 17 00:00:00 2001 From: mickeyl Date: Thu, 01 Jun 2006 11:26:26 +0000 Subject: improve support for ipaqs --- diff --git a/core/applets/batteryapplet/batterystatus.cpp b/core/applets/batteryapplet/batterystatus.cpp index 08ddc85..9622726 100644 --- a/core/applets/batteryapplet/batterystatus.cpp +++ b/core/applets/batteryapplet/batterystatus.cpp @@ -82,11 +82,9 @@ bool BatteryStatus::getProcApmStatusIpaq() { } } } - } else { - QMessageBox::warning(this, tr("Failure"),tr("could not open file")); + procApmIpaq.close(); } - procApmIpaq.close(); jackPercent = perc2.toInt(); ipaqPercent = perc1.toInt(); -- cgit v0.9.0.2