https://bugs.kde.org/show_bug.cgi?id=465805
Bug ID: 465805
Summary: QML error "PopupDialog.qml:151: TypeError: Cannot call
method 'destroy' of null"
Classification: Plasma
Product: plasma-nm
Version: unspecified
Platform: Other
OS: Linux
Status: REPORTED
Severity: minor
Priority: NOR
Component: applet
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
file:///home/nate/kde/usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/PopupDialog.qml:151:
TypeError: Cannot call method 'destroy' of null
Error is harmless, but pollutes logs.
Code:
Connections {
target: plasmoid
function onExpandedChanged(expanded) {
connectionView.currentVisibleButtonIndex = -1;
if (expanded) {
handler.requestScan();
full.connectionModel = networkModelComponent.createObject(full)
} else {
full.connectionModel.destroy()
}
}
}
Apparently full.connectionModel is already null by the time it runs? So maybe
we can just remove this code.
Possibly related commit: 9e5cdc3e4f0b83221310560f2e4966c7d5fa59bc
--
You are receiving this mail because:
You are watching all bug changes.