Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
connectionagent
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
mer-core
connectionagent
Commits
45fd0a67
Commit
45fd0a67
authored
Jul 07, 2015
by
Pekka Vuorela
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove dead code
parent
d7b49ee2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
24 deletions
+1
-24
connd/qconnectionagent.cpp
connd/qconnectionagent.cpp
+1
-22
connd/qconnectionagent.h
connd/qconnectionagent.h
+0
-2
No files found.
connd/qconnectionagent.cpp
View file @
45fd0a67
...
...
@@ -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
)
...
...
connd/qconnectionagent.h
View file @
45fd0a67
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment