Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Do not report cellular carrier lost
  • Loading branch information
rainemak committed Jun 19, 2017
1 parent 1836b01 commit a874961
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions connd/qconnectionagent.cpp
Expand Up @@ -589,6 +589,8 @@ bool QConnectionAgent::shouldSuppressError(const QString &error, bool cellular)
return true;
if (error == QLatin1String("Operation aborted"))
return true;
if (error == QLatin1String("No carrier") && cellular) // Don't report cellular carrier lost.
return true;
if (error == QLatin1String("connect-failed") && cellular && netman->offlineMode()) // Suppress errors when switching to offline mode
return true;
if (error == QLatin1String("In progress") || error.contains(QLatin1String("Method"))) // Catch dbus errors and discard
Expand Down

0 comments on commit a874961

Please sign in to comment.