Commit d7b49ee2 authored by Pekka Vuorela's avatar Pekka Vuorela

Remove useless null check

parent ea1f97bf
......@@ -461,9 +461,7 @@ void QConnectionAgent::setup()
if (connmanAvailable) {
qDebug() << Q_FUNC_INFO
<< netman->state();
if (ua)
delete ua;
delete ua;
ua = new UserAgent(this);
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