diff options
-rw-r--r-- | network/wifinetworkmodel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/network/wifinetworkmodel.cpp b/network/wifinetworkmodel.cpp index 3cfd7dd..3837278 100644 --- a/network/wifinetworkmodel.cpp +++ b/network/wifinetworkmodel.cpp @@ -82,6 +82,7 @@ void WifiNetworkModel::removeAllNetworks() { beginRemoveRows(QModelIndex(), 0, m_networks.count() - 1); qDeleteAll(m_networks.begin(), m_networks.end()); + m_networks.clear(); endRemoveRows(); } |