From ea1f97bfe4c9d56a72be7a67ab8efaf5bce7daca Mon Sep 17 00:00:00 2001 From: Pekka Vuorela Date: Tue, 7 Jul 2015 15:38:17 +0300 Subject: [PATCH] Remove unused member variables --- connd/qconnectionagent.cpp | 3 +-- connd/qconnectionagent.h | 4 ---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/connd/qconnectionagent.cpp b/connd/qconnectionagent.cpp index 9aed019..0213121 100644 --- a/connd/qconnectionagent.cpp +++ b/connd/qconnectionagent.cpp @@ -48,7 +48,6 @@ QConnectionAgent::QConnectionAgent(QObject *parent) : currentNetworkState(QString()), isEthernet(false), connmanAvailable(false), - oContext(0), tetheringWifiTech(0), tetheringEnabled(false), flightModeSuppression(false), @@ -59,7 +58,7 @@ QConnectionAgent::QConnectionAgent(QObject *parent) : connect(netman,SIGNAL(availabilityChanged(bool)),this,SLOT(connmanAvailabilityChanged(bool))); - connectionAdaptor = new ConnAdaptor(this); + new ConnAdaptor(this); QDBusConnection dbus = QDBusConnection::sessionBus(); if (!dbus.registerService(CONND_SERVICE)) { diff --git a/connd/qconnectionagent.h b/connd/qconnectionagent.h index 470e6e8..d4b40d6 100644 --- a/connd/qconnectionagent.h +++ b/connd/qconnectionagent.h @@ -31,10 +31,8 @@ class UserAgent; class SessionAgent; -class ConnAdaptor; class NetworkManager; class NetworkService; -class QOfonoConnectionContext; class NetworkTechnology; class WakeupWatcher; class QTimer; @@ -121,7 +119,6 @@ public Q_SLOTS: void removeAllTypes(const QString &type); static QConnectionAgent *self; - ConnAdaptor *connectionAdaptor; UserAgent *ua; NetworkManager *netman; @@ -135,7 +132,6 @@ public Q_SLOTS: bool isEthernet; bool connmanAvailable; - QOfonoConnectionContext *oContext; NetworkTechnology *tetheringWifiTech; bool tetheringEnabled; bool flightModeSuppression;