Git commit cd8864fd92f7d624f74a7998a5f4c59e5a698652 by Albert Vaca. Committed on 30/06/2014 at 23:25. Pushed by albertvaka into branch 'master'. Trying to fix a warning in the plasmoid: "root not defined" M +2 -2 plasmoid/package/contents/ui/Battery.qml http://commits.kde.org/kdeconnect-kde/cd8864fd92f7d624f74a7998a5f4c59e5a698= 652 diff --git a/plasmoid/package/contents/ui/Battery.qml b/plasmoid/package/co= ntents/ui/Battery.qml index 6fcb7c4..4b58e2d 100644 --- a/plasmoid/package/contents/ui/Battery.qml +++ b/plasmoid/package/contents/ui/Battery.qml @@ -53,8 +53,8 @@ QtObject { if (available) { battery =3D DeviceBatteryDbusInterfaceFactory.create(deviceId) = - battery.stateChanged.connect(function(charging) {root.charging= =3D charging}) - battery.chargeChanged.connect(function(charge) {root.charge = =3D charge}) + battery.stateChanged.connect(function(c) {charging =3D c}) + battery.chargeChanged.connect(function(c) {charge =3D c}) = startupCheck1.setPendingCall(battery.isCharging()) startupCheck2.setPendingCall(battery.charge())