Commit 711111c2 authored by Raine Makelainen's avatar Raine Makelainen

Suppress also "Already connected" error

Use NetworkService's connected and/or state instead to check connected
parent 7631bf4a
......@@ -555,6 +555,8 @@ bool QConnectionAgent::shouldSuppressError(const QString &error, bool cellular)
return true;
if (error == QLatin1String("Operation aborted"))
return true;
if (error == QLatin1String("Already connected"))
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
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