Commit 45fd0a67 authored by Pekka Vuorela's avatar Pekka Vuorela

Remove dead code

parent d7b49ee2
......@@ -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;
......@@ -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
......@@ -592,8 +572,7 @@ void QConnectionAgent::offlineModeChanged(bool b)
void QConnectionAgent::flightModeDialogSuppressionTimeout()
{
if (flightModeSuppression)
flightModeSuppression = false;
flightModeSuppression = false;
}
void QConnectionAgent::displayStateChanged(const QString &state)
......
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment