Skip to content

[applets/batterymonitor/package/contents/ui/PowerManagementItem] Fix trying to...

Ömer Fadıl Usta requested to merge work/usta_fix_undefined into master

[applets/batterymonitor/package/contents/ui/PowerManagementItem] Fix trying to reach undefined object's value

Without this patch :

file:///home/kde-dev/kde/usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/PowerManagementItem.qml:66: TypeError: Cannot read property 'Reason' of undefined
file:///home/kde-dev/kde/usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/PowerManagementItem.qml:65: TypeError: Cannot read property 'Icon' of undefined

Merge request reports

Loading