Merge PR #254: Fix initialization of networking page

This commit is contained in:
Jenkins nymea 2019-10-28 12:23:23 +01:00
commit 3036911d31

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");