Commit a0455c31 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

Show device name in Connection Details

It can be useful to know if the connection is currently on "eth1" or "eth2".
Given the KCM talks about "Restrict to this device", the label "Device" rather than "Interface"
is used here as well.
parent 0702dc01
......@@ -679,4 +679,8 @@ void NetworkModelItem::updateDetails() const
m_details << i18n("MAC Address") << teamDevice->hwAddress();
}
}
if (m_connectionState == NetworkManager::ActiveConnection::Activated) {
m_details << i18n("Device") << device->interfaceName();
}
}
Markdown is supported
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