From 560c93d1e871bc09dda35939d6fdbe662f410928 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pasi=20Sj=C3=B6holm?= Date: Thu, 28 Aug 2014 20:33:34 +0300 Subject: [PATCH] [connectionagent] do not continue connectToType("cellular") if autoconnect is not enabled --- connd/qconnectionagent.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/connd/qconnectionagent.cpp b/connd/qconnectionagent.cpp index 9155e2c..d387f83 100644 --- a/connd/qconnectionagent.cpp +++ b/connd/qconnectionagent.cpp @@ -311,6 +311,9 @@ void QConnectionAgent::connectToType(const QString &type) qDebug() << "<<<<<<<<<<< requestConnect() >>>>>>>>>>>>"; servicesMap.value(path)->requestConnect(); return; + } else if (path.contains("cellular")) { + // do not continue if cellular is not autoconnect + return; } } else { return;