[applets/batterymonitor] BatteryItem: Fix undefined property access
Pass remainingTime property explicitly instead of looking up the top-most item via implicit scoping / context. It doesn't work well especially in ListView delegates. Besides, there already was such property in the PopupDialog, although it was unused until now. Amends 7d0f1a01, this time for real
Please register or sign in to comment