Commit 14d6c2f1 authored by Lamarque Souza's avatar Lamarque Souza
Browse files

Do not use null pointer when updating WirelessInterfaceItem.

CCBUG: 291786
parent fc9fd194
......@@ -61,6 +61,9 @@ void WirelessInterfaceItem::connectButtonClicked()
void WirelessInterfaceItem::setConnectionInfo()
{
if (!m_iface) {
return;
}
InterfaceItem::setConnectionInfo(); // Sets the labels
switch (m_iface.data()->state()) {
case NetworkManager::Device::Unavailable:
......
#ifndef PLASMA_NM_VERSION_H
#define PLASMA_NM_VERSION_H
static const char * plasmaNmVersion = "0.9.1_rc1 (master 20120110)";
static const char * plasmaNmVersion = "0.9.1_rc1 (master 20120117)";
#endif
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