Commit 344fc885 authored by Lamarque Souza's avatar Lamarque Souza
Browse files

Do not use null pointer when updating WirelessInterfaceItem.

CCBUG: 291786
parent 99d3dbe8
......@@ -61,6 +61,9 @@ void WirelessInterfaceItem::connectButtonClicked()
void WirelessInterfaceItem::setConnectionInfo()
{
if (!m_iface) {
return;
}
InterfaceItem::setConnectionInfo(); // Sets the labels
switch (m_iface.data()->connectionState()) {
case Solid::Control::NetworkInterfaceNm09::Unavailable:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment