~georg-zotti/stellarium/gz_AtmosphereTweaks

« back to all changes in this revision

Viewing changes to src/core/SimbadSearcher.cpp

  • Committer: Georg Zotti
  • Date: 2017-05-23 13:18:09 UTC
  • mfrom: (8115.1.1321 trunk)
  • Revision ID: georg.zotti@univie.ac.at-20170523131809-a6pus0ogpmjwtmd8
merge-in trunk r9436

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
SimbadLookupReply::SimbadLookupReply(const QString& aurl, QNetworkAccessManager* anetMgr, int delayMs)
29
29
        : url(aurl)
30
 
        , reply(NULL)
 
30
        , reply(Q_NULLPTR)
31
31
        , netMgr(anetMgr)
32
32
        , currentStatus(SimbadLookupQuerying)
33
33
{
48
48
                reply->abort();
49
49
                //do not use delete here
50
50
                reply->deleteLater();
51
 
                reply = NULL;
 
51
                reply = Q_NULLPTR;
52
52
        }
53
53
}
54
54
 
60
60
                disconnect(reply, SIGNAL(finished()), this, SLOT(httpQueryFinished()));
61
61
                reply->abort();
62
62
                delete reply;
63
 
                reply = NULL;
 
63
                reply = Q_NULLPTR;
64
64
        }
65
65
}
66
66