summaryrefslogtreecommitdiffstats
path: root/redhat/tdelibs/tdelibs-14.0.0-fix_battery_charge.patch
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/tdelibs/tdelibs-14.0.0-fix_battery_charge.patch')
-rw-r--r--redhat/tdelibs/tdelibs-14.0.0-fix_battery_charge.patch18
1 files changed, 0 insertions, 18 deletions
diff --git a/redhat/tdelibs/tdelibs-14.0.0-fix_battery_charge.patch b/redhat/tdelibs/tdelibs-14.0.0-fix_battery_charge.patch
deleted file mode 100644
index 2b09620bb..000000000
--- a/redhat/tdelibs/tdelibs-14.0.0-fix_battery_charge.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- trinity-tdelibs-14.0.0~pre596+d6816283/tdecore/tdehardwaredevices.cpp.batterycharge 2013-07-07 11:55:57.000000000 +0200
-+++ trinity-tdelibs-14.0.0~pre596+d6816283/tdecore/tdehardwaredevices.cpp 2013-07-08 20:21:00.196653825 +0200
-@@ -4704,6 +4704,15 @@
- if (nodename == "alarm") {
- bdevice->internalSetAlarmEnergy(line.toDouble()/1000000.0);
- }
-+ if (nodename == "charge_full") {
-+ bdevice->internalSetMaximumEnergy(line.toDouble()/1000000.0);
-+ }
-+ if (nodename == "charge_full_design") {
-+ bdevice->internalSetMaximumDesignEnergy(line.toDouble()/1000000.0);
-+ }
-+ if (nodename == "charge_now") {
-+ bdevice->internalSetEnergy(line.toDouble()/1000000.0);
-+ }
- if (nodename == "energy_full") {
- bdevice->internalSetMaximumEnergy(line.toDouble()/1000000.0);
- }