Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove unused member variables
  • Loading branch information
pvuorela committed Jul 7, 2015
1 parent 57202a9 commit ea1f97b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions connd/qconnectionagent.cpp
Expand Up @@ -48,7 +48,6 @@ QConnectionAgent::QConnectionAgent(QObject *parent) :
currentNetworkState(QString()),
isEthernet(false),
connmanAvailable(false),
oContext(0),
tetheringWifiTech(0),
tetheringEnabled(false),
flightModeSuppression(false),
Expand All @@ -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)) {
Expand Down
4 changes: 0 additions & 4 deletions connd/qconnectionagent.h
Expand Up @@ -31,10 +31,8 @@
class UserAgent;
class SessionAgent;

class ConnAdaptor;
class NetworkManager;
class NetworkService;
class QOfonoConnectionContext;
class NetworkTechnology;
class WakeupWatcher;
class QTimer;
Expand Down Expand Up @@ -121,7 +119,6 @@ public Q_SLOTS:
void removeAllTypes(const QString &type);

static QConnectionAgent *self;
ConnAdaptor *connectionAdaptor;
UserAgent *ua;

NetworkManager *netman;
Expand All @@ -135,7 +132,6 @@ public Q_SLOTS:
bool isEthernet;
bool connmanAvailable;

QOfonoConnectionContext *oContext;
NetworkTechnology *tetheringWifiTech;
bool tetheringEnabled;
bool flightModeSuppression;
Expand Down

0 comments on commit ea1f97b

Please sign in to comment.