Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
pvuorela committed Jul 7, 2015
1 parent d7b49ee commit 45fd0a6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
21 changes: 0 additions & 21 deletions connd/qconnectionagent.cpp
Expand Up @@ -386,20 +386,6 @@ void QConnectionAgent::servicesError(const QString &errorMessage)
Q_EMIT onErrorReported(serv->path(), errorMessage);
}

void QConnectionAgent::ofonoServicesError(const QString &errorMessage)
{
QOfonoConnectionContext *context = static_cast<QOfonoConnectionContext *>(sender());
QVector<NetworkService*> services = netman->getServices("cellular");
Q_FOREACH (NetworkService *serv, services) {
if (context->contextPath().contains(serv->path().section("_",2,2))) {
Q_EMIT onErrorReported(serv->path(), errorMessage);
qDebug() << serv->name() << errorMessage;
return;
}
}
qWarning() << "ofono error but could not discover connman service";
}

void QConnectionAgent::networkStateChanged(const QString &state)
{
qDebug() << state;
Expand Down Expand Up @@ -447,12 +433,6 @@ void QConnectionAgent::connmanAvailabilityChanged(bool b)
}
}

void QConnectionAgent::serviceAdded(const QString &srv)
{
qDebug() << Q_FUNC_INFO << "<<<<"<< srv;
updateServices();
}

void QConnectionAgent::setup()
{
qDebug() << Q_FUNC_INFO
Expand Down Expand Up @@ -592,7 +572,6 @@ void QConnectionAgent::offlineModeChanged(bool b)

void QConnectionAgent::flightModeDialogSuppressionTimeout()
{
if (flightModeSuppression)
flightModeSuppression = false;
}

Expand Down
2 changes: 0 additions & 2 deletions connd/qconnectionagent.h
Expand Up @@ -154,12 +154,10 @@ private slots:
void connmanAvailabilityChanged(bool b);
void setup();
void servicesError(const QString &);
void ofonoServicesError(const QString &);
void technologyPowerChanged(bool);
void browserRequest(const QString &servicePath, const QString &url);
void techChanged();

void serviceAdded(const QString &);
void servicesListChanged(const QStringList &);
void offlineModeChanged(bool);
void flightModeDialogSuppressionTimeout();
Expand Down

0 comments on commit 45fd0a6

Please sign in to comment.