From d17ba18820d9a739470cf99771c87be6b697894f Mon Sep 17 00:00:00 2001 From: Pekka Vuorela Date: Tue, 7 Jul 2015 15:51:47 +0300 Subject: [PATCH] reorder code --- connd/qconnectionagent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connd/qconnectionagent.cpp b/connd/qconnectionagent.cpp index 4d84f7a..4b0764f 100644 --- a/connd/qconnectionagent.cpp +++ b/connd/qconnectionagent.cpp @@ -56,7 +56,6 @@ QConnectionAgent::QConnectionAgent(QObject *parent) : { qDebug() << Q_FUNC_INFO; - connect(netman,SIGNAL(availabilityChanged(bool)),this,SLOT(connmanAvailabilityChanged(bool))); new ConnAdaptor(this); QDBusConnection dbus = QDBusConnection::sessionBus(); @@ -71,6 +70,7 @@ QConnectionAgent::QConnectionAgent(QObject *parent) : connect(this,SIGNAL(configurationNeeded(QString)),this,SLOT(openConnectionDialog(QString))); + connect(netman,SIGNAL(availabilityChanged(bool)),this,SLOT(connmanAvailabilityChanged(bool))); connect(netman,SIGNAL(servicesListChanged(QStringList)),this,SLOT(servicesListChanged(QStringList))); connect(netman,SIGNAL(stateChanged(QString)),this,SLOT(networkStateChanged(QString))); connect(netman,SIGNAL(offlineModeChanged(bool)),this,SLOT(offlineModeChanged(bool)));