summaryrefslogtreecommitdiff
path: root/core
Side-by-side diff
Diffstat (limited to 'core') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/batteryapplet/batterystatus.cpp4
1 files changed, 1 insertions, 3 deletions
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
@@ -84,7 +84,5 @@ bool BatteryStatus::getProcApmStatusIpaq() {
}
- } else {
- QMessageBox::warning(this, tr("Failure"),tr("could not open file"));
+ procApmIpaq.close();
}
- procApmIpaq.close();
jackPercent = perc2.toInt();