summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
Diffstat (limited to 'network')
-rw-r--r--network/network.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/network/network.cpp b/network/network.cpp
index 48fbaaa..9574837 100644
--- a/network/network.cpp
+++ b/network/network.cpp
@@ -116,6 +116,7 @@ AdapterIf* Network::findAdapter(QString type)
for (iter = m_adapters.begin(); iter != m_adapters.end(); ++iter)
if ((*iter)->getType() == type)
return (*iter);
+ return nullptr;
}
void Network::updateServiceProperties(QJsonObject data)