Commit 7cc35fd4 authored by Jan Grulich's avatar Jan Grulich
Browse files

Display wireless security for active connections

parent fd13bdfb
......@@ -453,6 +453,9 @@ void NetworkModelItem::updateDetails()
NetworkManager::WirelessDevice::Ptr wirelessDevice = device.objectCast<NetworkManager::WirelessDevice>();
m_details << i18n("Access point (SSID)") << m_ssid;
m_details << i18n("Signal strength") << i18n("%1%", m_signal);
if (m_connectionState == NetworkManager::ActiveConnection::Activated) {
m_details << i18n("Security type") << UiUtils::labelFromWirelessSecurity(m_securityType);
}
if (wirelessDevice) {
if (m_connectionState == NetworkManager::ActiveConnection::Activated) {
m_details << i18n("Connection speed") << UiUtils::connectionSpeed(wirelessDevice->bitRate());
......
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