Fix initialisation of networking page

This commit is contained in:
Michael Zanetti 2019-10-15 13:25:31 +02:00
parent 69f2f61df5
commit 12e3eb0d36

View File

@ -25,6 +25,9 @@ QString NetworkManager::nameSpace() const
void NetworkManager::init()
{
m_wiredNetworkDevices->clear();
m_wirelessNetworkDevices->clear();
m_jsonClient->sendCommand("NetworkManager.GetNetworkStatus", QVariantMap(), this, "getStatusReply");
m_jsonClient->sendCommand("NetworkManager.GetNetworkDevices", QVariantMap(), this, "getDevicesReply");
// m_jsonClient->sendCommand("NetworkManager.GetWirelessAccessPoints", QVariantMap(), this, "getAccessPointsReply");