Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove useless null check
  • Loading branch information
pvuorela committed Jul 7, 2015
1 parent ea1f97b commit d7b49ee
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions connd/qconnectionagent.cpp
Expand Up @@ -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);

connect(ua,SIGNAL(userInputRequested(QString,QVariantMap)),
Expand Down

0 comments on commit d7b49ee

Please sign in to comment.