Commit a874961a authored by Raine Makelainen's avatar Raine Makelainen

Do not report cellular carrier lost

parent 1836b016
......@@ -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
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